Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blinQ - Add resource type public ip prefix #341

Merged
merged 1 commit into from
Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions caf_solution/local.networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ locals {
private_dns = var.private_dns
private_dns_vnet_links = var.private_dns_vnet_links
private_endpoints = var.private_endpoints
public_ip_prefixes = var.public_ip_prefixes
public_ip_addresses = var.public_ip_addresses
route_tables = var.route_tables
vhub_peerings = var.vhub_peerings
Expand Down
3 changes: 3 additions & 0 deletions caf_solution/local.remote.tf
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ locals {
}
public_ip_addresses = {
for key, value in try(var.landingzone.tfstates, {}) : key => merge(try(data.terraform_remote_state.remote[key].outputs.objects[key].public_ip_addresses, {}))
}
public_ip_prefixes = {
for key, value in try(var.landingzone.tfstates, {}) : key => merge(try(data.terraform_remote_state.remote[key].outputs.objects[key].public_ip_prefixes, {}))
}
recovery_vaults = {
for key, value in try(var.landingzone.tfstates, {}) : key => merge(try(data.terraform_remote_state.remote[key].outputs.objects[key].recovery_vaults, {}))
Expand Down
4 changes: 4 additions & 0 deletions caf_solution/variables.networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,7 @@ variable "vpn_sites" {
variable "vpn_gateway_connections" {
default = {}
}
variable "public_ip_prefixes" {
default = {}
}