Skip to content

Commit

Permalink
Merge branch 'blinq-public-ip-prefix' of https://github.com/blinqas/c…
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudlh committed Apr 20, 2022
2 parents df3d829 + ea43d27 commit c16cbe8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions caf_solution/local.networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,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 @@ -181,6 +181,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
6 changes: 5 additions & 1 deletion caf_solution/variables.networking.tf
Original file line number Diff line number Diff line change
Expand Up @@ -170,4 +170,8 @@ variable "lb_backend_address_pool_address" {
}
variable "network_interface_backend_address_pool_association" {
default = {}
}
}
variable "public_ip_prefixes" {
default = {}
}

0 comments on commit c16cbe8

Please sign in to comment.