cloudposse/dynamic-subnets
Terraform module for public and private subnets provisioning in existing VPC.
About
Terraform module for public and private subnets provisioning in existing VPC.
Maintained by cloudposse on the Terraform Registry. Latest version 3.1.1, 4.0M downloads. Requires providers: aws >= 5.0.
Deploy creates a StackGuardian workflow from the module's GitHub repository, pinned to this version. You set the inputs, see the plan, then approve the apply.
Use cases
- Landing-zone networking: one module, one approved pattern per team.
- Shared VPC or hub-and-spoke for several accounts or projects.
- Ephemeral environments that need their own network each time.
Inputs
Required inputs:
vpc_id— string
84 inputs in total. The full list, with defaults and descriptions, is on the registry page.
What it creates
aws_subnetaws_route_tableaws_routeaws_nat_gatewayaws_eipaws_network_acl
How it runs on StackGuardian
Terraform workflow from the module's GitHub repository: plan, policy check, approval, then apply.
Approvals happen in StackGuardian. An agent can never approve its own run. Every run keeps its plan, policy results and approver in the audit log.