Skip to content

Commit

Permalink
blinQ - Add resource type public ip prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
heintonny committed Mar 27, 2022
1 parent 6456648 commit ea43d27
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
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 = {}
}

0 comments on commit ea43d27

Please sign in to comment.