{"id":22861891,"url":"https://github.com/escapace/terraform-aws-vpc","last_synced_at":"2026-02-01T03:32:51.758Z","repository":{"id":84825950,"uuid":"304576611","full_name":"escapace/terraform-aws-vpc","owner":"escapace","description":"define a vpc","archived":false,"fork":false,"pushed_at":"2025-02-20T00:59:58.000Z","size":208,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"trunk","last_synced_at":"2025-06-17T00:46:36.666Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/escapace.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-10-16T09:12:50.000Z","updated_at":"2025-02-20T01:00:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"11f360c8-8633-42d6-85c4-725726b9ce9c","html_url":"https://github.com/escapace/terraform-aws-vpc","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":"escapace/terraform-null-label","purl":"pkg:github/escapace/terraform-aws-vpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapace%2Fterraform-aws-vpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapace%2Fterraform-aws-vpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapace%2Fterraform-aws-vpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapace%2Fterraform-aws-vpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/escapace","download_url":"https://codeload.github.com/escapace/terraform-aws-vpc/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escapace%2Fterraform-aws-vpc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28966473,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T02:14:24.993Z","status":"ssl_error","status_checked_at":"2026-02-01T02:13:55.706Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","terraform","terraform-module"],"created_at":"2024-12-13T10:11:29.049Z","updated_at":"2026-02-01T03:32:51.741Z","avatar_url":"https://github.com/escapace.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n\n## Inputs\n\n| Name                                 | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | Type           | Default                                                                                                                                                                                                                                                                                                                                                                   | Required |\n| ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------: |\n| cidr_block                           | IPv4 CIDR to assign to the VPC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `string`       | n/a                                                                                                                                                                                                                                                                                                                                                                       |   yes    |\n| additional_cidr_blocks               | A list of additional IPv4 CIDR blocks to associate with the VPC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `list(string)` | `[]`                                                                                                                                                                                                                                                                                                                                                                      |    no    |\n| additional_tag_map                   | Additional key-value pairs to add to each map in `tags_as_list_of_maps`. Not added to `tags` or `id`. This is for some rare cases where resources want additional configuration of tags and therefore take a list of maps with tag key, value, and additional configuration.                                                                                                                                                                                                                                                                                                                                                        | `map(string)`  | `{}`                                                                                                                                                                                                                                                                                                                                                                      |    no    |\n| attributes                           | ID element. Additional attributes (e.g. `workers` or `cluster`) to add to `id`, in the order they appear in the list. New attributes are appended to the end of the list. The elements of the list are joined by the `delimiter` and treated as a single ID element.                                                                                                                                                                                                                                                                                                                                                                | `list(string)` | `[]`                                                                                                                                                                                                                                                                                                                                                                      |    no    |\n| context                              | Single object for setting entire context at once. See description of individual variables for details. Leave string and numeric variables as `null` to use default value. Individual variable settings (non-null) override settings in context object, except for attributes, tags, and additional_tag_map, which are merged.                                                                                                                                                                                                                                                                                                       | `any`          | `{ \"additional_tag_map\": {}, \"attributes\": [], \"delimiter\": null, \"descriptor_formats\": {}, \"enabled\": true, \"environment\": null, \"id_length_limit\": null, \"label_key_case\": null, \"label_order\": [], \"label_value_case\": null, \"labels_as_tags\": [ \"unset\" ], \"name\": null, \"namespace\": null, \"regex_replace_chars\": null, \"stage\": null, \"tags\": {}, \"tenant\": null }` |    no    |\n| default_security_group_deny_all      | When `true`, manage the default security group and remove all rules, disabling all ingress and egress. When `false`, do not manage the default security group, allowing it to be managed by another component                                                                                                                                                                                                                                                                                                                                                                                                                       | `bool`         | `true`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| delimiter                            | Delimiter to be used between ID elements. Defaults to `-` (hyphen). Set to `\"\"` to use no delimiter at all.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `string`       | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| descriptor_formats                   | Describe additional descriptors to be output in the `descriptors` output map. Map of maps. Keys are names of descriptors. Values are maps of the form `{    format = string    labels = list(string) }` (Type is `any` so the map values can later be enhanced to provide additional options.) `format` is a Terraform format string to be passed to the `format()` function. `labels` is a list of labels, in order, to pass to `format()` function. Label values will be normalized before being passed to `format()` so they will be identical to how they appear in `id`. Default is `{}` (`descriptors` output will be empty). | `any`          | `{}`                                                                                                                                                                                                                                                                                                                                                                      |    no    |\n| dns_hostnames_enabled                | A boolean flag to enable/disable DNS hostnames in the VPC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | `bool`         | `true`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| dns_support_enabled                  | A boolean flag to enable/disable DNS support in the VPC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | `bool`         | `true`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| egress_only_internet_gateway_enabled | A boolean flag to enable/disable IPv6 Egress-Only Internet Gateway creation                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         | `bool`         | `true`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| enabled                              | Set to false to prevent the module from creating any resources                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      | `bool`         | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| environment                          | ID element. Usually used for region e.g. 'uw2', 'us-west-2', OR role 'prod', 'staging', 'dev', 'UAT'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `string`       | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| id_length_limit                      | Limit `id` to this many characters (minimum 6). Set to `0` for unlimited length. Set to `null` for keep the existing setting, which defaults to `0`. Does not affect `id_full`.                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `number`       | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| instance_tenancy                     | A tenancy option for instances launched into the VPC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | `string`       | `\"default\"`                                                                                                                                                                                                                                                                                                                                                               |    no    |\n| internet_gateway_enabled             | A boolean flag to enable/disable Internet Gateway creation                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `bool`         | `true`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| ipv6_enabled                         | If `true`, enable IPv6 and assign a generated CIDR block to the VPC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 | `bool`         | `true`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| label_key_case                       | Controls the letter case of the `tags` keys (label names) for tags generated by this module. Does not affect keys of tags passed in via the `tags` input. Possible values: `lower`, `title`, `upper`. Default value: `title`.                                                                                                                                                                                                                                                                                                                                                                                                       | `string`       | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| label_order                          | The order in which the labels (ID elements) appear in the `id`. Defaults to [\"namespace\", \"environment\", \"stage\", \"name\", \"attributes\"]. You can omit any of the 6 labels (\"tenant\" is the 6th), but at least one must be present.                                                                                                                                                                                                                                                                                                                                                                                                  | `list(string)` | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| label_value_case                     | Controls the letter case of ID elements (labels) as included in `id`, set as tag values, and output by this module individually. Does not affect values of tags passed in via the `tags` input. Possible values: `lower`, `title`, `upper` and `none` (no transformation). Set this to `title` and set `delimiter` to `\"\"` to yield Pascal Case IDs. Default value: `lower`.                                                                                                                                                                                                                                                        | `string`       | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| labels_as_tags                       | Set of labels (ID elements) to include as tags in the `tags` output. Default is to include all labels. Tags with empty values will not be included in the `tags` output. Set to `[]` to suppress all generated tags. **Notes:** The value of the `name` tag, if included, will be the `id`, not the `name`. Unlike other `null-label` inputs, the initial setting of `labels_as_tags` cannot be changed in later chained modules. Attempts to change it will be silently ignored.                                                                                                                                                   | `set(string)`  | `[ \"default\" ]`                                                                                                                                                                                                                                                                                                                                                           |    no    |\n| name                                 | ID element. Usually the component or solution name, e.g. 'app' or 'jenkins'. This is the only ID element not also included as a `tag`. The \"name\" tag is set to the full `id` string. There is no tag with the value of the `name` input.                                                                                                                                                                                                                                                                                                                                                                                           | `string`       | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| namespace                            | ID element. Usually an abbreviation of your organization name, e.g. 'eg' or 'cp', to help ensure generated IDs are globally unique                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | `string`       | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| regex_replace_chars                  | Terraform regular expression (regex) string. Characters matching the regex will be removed from the ID elements. If not set, `\"/[^a-zA-Z0-9-]/\"` is used to remove all characters other than hyphens, letters and digits.                                                                                                                                                                                                                                                                                                                                                                                                           | `string`       | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| stage                                | ID element. Usually used to indicate role, e.g. 'prod', 'staging', 'source', 'build', 'test', 'deploy', 'release'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | `string`       | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n| tags                                 | Additional tags (e.g. `{'BusinessUnit': 'XYZ'}`). Neither the tag keys nor the tag values will be modified by this module.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | `map(string)`  | `{}`                                                                                                                                                                                                                                                                                                                                                                      |    no    |\n| tenant                               | ID element \\_(Rarely used, not included by default)\\_. A customer identifier, indicating who this instance of a resource is for                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     | `string`       | `null`                                                                                                                                                                                                                                                                                                                                                                    |    no    |\n\n## Outputs\n\n| Name                                      | Description                                                          |\n| ----------------------------------------- | -------------------------------------------------------------------- |\n| additional_cidr_blocks                    | A list of the additional IPv4 CIDR blocks associated with the VPC    |\n| additional_cidr_blocks_to_association_ids | A map of the additional IPv4 CIDR blocks to VPC CIDR association IDs |\n| cidr_block                                | The CIDR block of the VPC                                            |\n| default_network_acl_id                    | The ID of the network ACL created by default on VPC creation         |\n| default_route_table_id                    | The ID of the route table created by default on VPC creation         |\n| default_security_group_id                 | The ID of the security group created by default on VPC creation      |\n| egress_only_internet_gateway_id           | The ID of the egress-only Internet Gateway                           |\n| id                                        | The ID of the VPC                                                    |\n| internet_gateway_id                       | The ID of the Internet Gateway                                       |\n| ipv6_association_id                       | The association ID for the IPv6 CIDR block                           |\n| ipv6_cidr_block                           | The IPv6 CIDR block                                                  |\n| main_route_table_id                       | The ID of the main route table associated with this VPC              |\n\n## Resources\n\n| Name                                                                                                                                                       | Type     |\n| ---------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |\n| [aws_default_security_group.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/default_security_group)                   | resource |\n| [aws_egress_only_internet_gateway.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/egress_only_internet_gateway)       | resource |\n| [aws_internet_gateway.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/internet_gateway)                               | resource |\n| [aws_vpc.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc)                                                         | resource |\n| [aws_vpc_ipv4_cidr_block_association.default](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_ipv4_cidr_block_association) | resource |\n\n## Requirements\n\n| Name      | Version  |\n| --------- | -------- |\n| terraform | \u003e=1.9.8  |\n| aws       | \u003e=5.72.1 |\n\n\u003c!-- END_TF_DOCS --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fescapace%2Fterraform-aws-vpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fescapace%2Fterraform-aws-vpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fescapace%2Fterraform-aws-vpc/lists"}