You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/arc-iac-docs/modules/terraform-aws-ref-arch-network/docs/module-usage-guide/README.md
+5-16Lines changed: 5 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ To incorporate the module into your main Terraform configuration file (e.g., mai
29
29
```hcl
30
30
module "network" {
31
31
source = "sourcefuse/arc-network/aws"
32
-
version = "2.6.10"
32
+
version = "3.0.0"
33
33
# insert the required variables here
34
34
}
35
35
```
@@ -87,25 +87,14 @@ For basic usage, see the [example](https://github.com/sourcefuse/terraform-aws-a
87
87
88
88
This example will create:
89
89
90
-
- A VPC with CIDR block `10.9.0.0/16`
91
-
- Two subnets in availability zones : `"us-east-1a"`, `"us-east-1b"`
90
+
- A VPC with CIDR block `10.0.0.0/16`
91
+
- Two subnets in availability zones : `"us-east-1a"`, `"us-east-1b"` and `"us-east-1c"`
92
92
- Route tables, internet gateway, NAT Gateways
93
-
- vpc endpoints for the services: s3, kms, cloudwatch, elb, dynamodb, ec2, sns, sqs, ecs, rds
93
+
- vpc endpoints for the services: s3, dynamodb
94
94
95
95
### Tips and Recommendations
96
96
97
-
- If you want to create custom subnet ranges, check [example](https://github.com/sourcefuse/terraform-aws-arc-network/tree/main/examples/custom-subnets)
98
-
- If you want to create your own nat gateway(s) check [example](https://github.com/sourcefuse/terraform-aws-arc-network/tree/main/examples/custom-nat-gateways)
99
-
- If you have disabled the default nat gateways for your custom subnets
100
-
then you need to pass a nat gateway id for each private subnet that
101
-
you are creating. If custom_az_ngw_ids is left empty in this case
102
-
then no default route is created by the module.
103
-
- Creating nat gateway as demonstrated in this example is a 3 step process:
104
-
- STEP 1 : Apply the configuration without any nat gateway and eip resources and without custom_az_ngw_ids value
105
-
- STEP 2 : Add nat gateway and eip resources and run apply
106
-
- STEP 3 : finally add custom_az_ngw_ids input map and run apply
107
-
This does introduce a cyclical dependency between the network module and the nat and eip resources, but it is expected
108
-
since its a deviation from the [recommended aws nat gateway configuration](https://aws.amazon.com/blogs/networking-and-content-delivery/using-nat-gateways-with-multiple-amazon-vpcs-at-scale/).
97
+
- The module allows you to define and create subnets with granular control over placement in specific availability zones (AZs). You can configure subnet attributes like CIDR blocks, public or private subnet type, NAT Gateway attachment etc, please refer [custom subnets](https://github.com/sourcefuse/terraform-aws-arc-network/tree/main/examples/custom-subnets) folder.
0 commit comments