Skip to content

Commit

Permalink
variable passed in local
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kverma committed Oct 3, 2023
1 parent 12845e2 commit 17adcad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions _examples/single-account/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ locals {
role_arn = "arn:aws:iam::924144197303:role/identos-test-sw-role"
cidr_block = "10.10.0.0/16"
subnet_type = "private"
records = []
hub_destination_cidr = ["10.11.0.0/16"]
vpn_cidr_block = "172.16.0.0/16"

}

Expand Down Expand Up @@ -46,11 +48,11 @@ module "CT" {

## Route53
record_enabled = true
records = []
records = local.records

## TGW-HUB
hub_destination_cidr = local.hub_destination_cidr

## VPN
vpn_cidr_block = "172.16.0.0/16"
vpn_cidr_block = local.vpn_cidr_block
}

0 comments on commit 17adcad

Please sign in to comment.