We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46f1205 commit 416832dCopy full SHA for 416832d
README.md
@@ -64,6 +64,23 @@ module "stockholm_cgw" {
64
destination_cidr_blocks = ["10.1.1.0/24", "10.100.1.0/24"]
65
}
66
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
+*/
84
85
86
```
0 commit comments