Terraform module for simplified creation of VPC
Examples
Inputs
Name |
Description |
Type |
Default |
Required |
CreatedBy |
CreatedBy (e.g. terrafrom , dev , devops ) |
string |
n/a |
yes |
Environment |
Environment (e.g. prod , dev , staging ) |
string |
n/a |
yes |
Name |
Name (e.g. app or cluster ) |
string |
n/a |
yes |
Organization |
Organisation (e.g. clouddrove , cd ) |
string |
n/a |
yes |
cidr_block |
CIDR for the VPC |
string |
"" |
no |
enable_classiclink |
A boolean flag to enable/disable ClassicLink for the VPC |
string |
"false" |
no |
enable_classiclink_dns_support |
A boolean flag to enable/disable ClassicLink DNS Support for the VPC |
string |
"false" |
no |
enable_dns_hostnames |
A boolean flag to enable/disable DNS hostnames in the VPC |
string |
"true" |
no |
enable_dns_support |
A boolean flag to enable/disable DNS support in the VPC |
string |
"true" |
no |
instance_tenancy |
A tenancy option for instances launched into the VPC |
string |
"default" |
no |
Outputs
Name |
Description |
igw_id |
The ID of the Internet Gateway |
ipv6_cidr_block |
The IPv6 CIDR block |
vpc_cidr_block |
The CIDR block of the VPC |
vpc_default_network_acl_id |
The ID of the network ACL created by default on VPC creation |
vpc_default_route_table_id |
The ID of the route table created by default on VPC creation |
vpc_default_security_group_id |
The ID of the security group created by default on VPC creation |
vpc_id |
The ID of the VPC |
vpc_ipv6_association_id |
The association ID for the IPv6 CIDR block |
vpc_main_route_table_id |
The ID of the main route table associated with this VPC. |
๐ Refrence :
๐ฌ Contribution
- Open pull request with improvements
- Discuss ideas in issues
- Reach out with any feedback