named-subnets
cloudposse/named-subnets/aws
Terraform module for named subnets provisioning.
terraform-aws-named-subnets   [![README Header][readme_header_img]][readme_header_link] [![Cloud Posse][logo]](https://cpco.io/homepage) Terraform module for named subnets provisioning. --- This project is part of our comprehensive "SweetOps" approach towards DevOps. [ ][share_email] [ ][share_googleplus] [ ][share_facebook] [ ][share_reddit] [ ][share_linkedin] [ ][share_twitter] ![Terraform Open Source Modules][terraform_modules] It's 100% Open Source and licensed under the APACHE2. We literally have [hundreds of terraform modules][terraform_modules] that are Open Source and well-maintained. Check them out! Security & Compliance Security scanning is
| Name | Type | Description | Default |
|---|---|---|---|
| namespace | string | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp' | required |
| label_order | list(string) | The order in which the labels (ID elements) appear in the `id`. Defaults to ["na | required |
| subnet_names | list(string) | List of subnet names (e.g. `['apples', 'oranges', 'grapes']`) | required |
| cidr_block | string | Base CIDR block which will be divided into subnet CIDR blocks (e.g. `10.0.0.0/16 | required |
| label_value_case | string | Controls the letter case of ID elements (labels) as included in `id`, set as tag | required |
| name | string | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. Thi | required |
| regex_replace_chars | string | Terraform regular expression (regex) string. Characters matching the regex will | required |
| id_length_limit | number | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. | required |
| label_key_case | string | Controls the letter case of the `tags` keys (label names) for tags generated by | required |
| delimiter | string | Delimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `""` | required |
| availability_zone | string | Availability Zone | required |
| vpc_id | string | VPC ID | required |
| environment | string | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'st | required |
| enabled | bool | Set to false to prevent the module from creating any resources | required |
| tenant | string | ID element _(Rarely used, not included by default)_. A customer identifier, indi | required |
| stage | string | ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'bu | required |
| private_network_acl_id | string | Network ACL ID that will be added to the subnets. If empty, a new ACL will be cr | "" |
| public_network_acl_egress | list(object( { rule_ | Public network egress ACL rules | [
{
"action": "allow",
"cidr_b |
| private_network_acl_egress | list(object( { rule_ | Private network egress ACL rules | [
{
"action": "allow",
"cidr_b |
| nat_enabled | bool | Enable/disable NAT Gateway | true |
| eni_id | string | An ID of a network interface which is used as a default route in private route t | "" |
| map_public_ip_on_launch_enabled | bool | Enable/disable map_public_ip_on_launch subnet attribute. | false |
| labels_as_tags | set(string) | Set of labels (ID elements) to include as tags in the `tags` output. Default is | [
"default"
] |
| tags | map(string) | Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the t | {} |
| additional_tag_map | map(string) | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not add | {} |
| descriptor_formats | any | Describe additional descriptors to be output in the `descriptors` output map. Ma | {} |
| ngw_id | string | NAT Gateway ID which will be used as a default route in private route tables (e. | "" |
| private_network_acl_ingress | list(object( { rule_ | Private network ingress ACL rules | [
{
"action": "allow",
"cidr_b |
| type | string | Type of subnets (`private` or `public`) | "private" |
| public_network_acl_ingress | list(object( { rule_ | Public network ingress ACL rules | [
{
"action": "allow",
"cidr_b |
| context | any | Single object for setting entire context at once. See description of individual | {
"additional_tag_map": {},
"attribu |
| max_subnets | number | Maximum number of subnets which can be created. This variable is being used for | 16 |
| igw_id | string | Internet Gateway ID which will be used as a default route in public route tables | "" |
| attributes | list(string) | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, | [] |
| public_network_acl_id | string | Network ACL ID that will be added to the subnets. If empty, a new ACL will be cr | "" |
ngw_public_ip — Public IP address of the NAT Gatewaysubnet_ids — Subnet IDsroute_table_ids — Route table IDsnamed_subnet_ids — Map of subnet names to subnet IDsngw_id — NAT Gateway IDngw_private_ip — Private IP address of the NAT GatewayTerraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,
Terraform Azure Verified Pattern Module for Azure Landing Zone
Terraform Azure Verified Resource Module for Key Vault