Skip to content

Commit 416832d

Browse files
committed
Update README>md
1 parent 46f1205 commit 416832d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

Diff for: README.md

+17
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,23 @@ module "stockholm_cgw" {
6464
destination_cidr_blocks = ["10.1.1.0/24", "10.100.1.0/24"]
6565
}
6666

67+
# Or if you want to use existing CGW...
68+
/*
69+
module "stockholm_cgw" {
70+
source = "github.com/terraform-community-modules/tf_aws_customer_gw"
71+
72+
name = "stockholm"
73+
74+
vpn_gateway_id = "${module.vpn.vgw_id}"
75+
customer_gateway_id = "<pass the CGW ID e.g. from a data block>"
76+
static_routes_only = true
77+
78+
add_static_routes_to_tables = true
79+
route_table_ids = "${concat(module.public_subnet.public_route_table_ids, module.private_subnet.private_route_table_ids)}"
80+
route_table_count = 6
81+
destination_cidr_blocks = ["10.1.1.0/24", "10.100.1.0/24"]
82+
}
83+
*/
6784

6885

6986
```

0 commit comments

Comments
 (0)