Skip to content

Commit

Permalink
Update network datasources for the primary region
Browse files Browse the repository at this point in the history
  • Loading branch information
lgallard committed Nov 12, 2021
1 parent 0fa447c commit e5a6717
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions shared/us-east-1/base-network/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ locals {
}

datasources-vpcs = merge(
data.terraform_remote_state.apps-devstg-vpcs, # apps-devstg-vpcs
data.terraform_remote_state.apps-prd-vpcs, # apps-prd-vpcs
var.enable_tgw ? data.terraform_remote_state.network-vpcs : null, # network
data.terraform_remote_state.apps-devstg-vpcs, # apps-devstg-vpcs
data.terraform_remote_state.apps-devstg-dr-vpcs, # apps-devstg-dr-vpcs
data.terraform_remote_state.apps-prd-vpcs, # apps-prd-vpcs
data.terraform_remote_state.apps-prd-dr-vpcs, # apps-prd-dr-vpcs
)
}

0 comments on commit e5a6717

Please sign in to comment.