{"id":14957846,"url":"https://github.com/terraformtoolbox/terraform-aws-vpc","last_synced_at":"2025-10-24T12:31:07.054Z","repository":{"id":243217359,"uuid":"811797556","full_name":"TerraformToolbox/terraform-aws-vpc","owner":"TerraformToolbox","description":"A terraform module for creating an AWS VPC.","archived":false,"fork":false,"pushed_at":"2025-01-27T04:40:23.000Z","size":140,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-01-31T01:14:43.163Z","etag":null,"topics":["aws","terraform","terraform-module","wolfsoftware"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TerraformToolbox.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":".github/CODEOWNERS","security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["WolfSoftware","TGWolf"]}},"created_at":"2024-06-07T10:19:14.000Z","updated_at":"2025-01-27T04:39:28.000Z","dependencies_parsed_at":"2024-06-07T12:11:14.568Z","dependency_job_id":"b2083184-e119-4850-bafb-29118258b93a","html_url":"https://github.com/TerraformToolbox/terraform-aws-vpc","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":"0.030303030303030276","last_synced_commit":"8ab8faac0e7eda60419a21fb73fb0616ab673376"},"previous_names":["terraformtoolbox/terraform-aws-vpc"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerraformToolbox%2Fterraform-aws-vpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerraformToolbox%2Fterraform-aws-vpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerraformToolbox%2Fterraform-aws-vpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TerraformToolbox%2Fterraform-aws-vpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TerraformToolbox","download_url":"https://codeload.github.com/TerraformToolbox/terraform-aws-vpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237964552,"owners_count":19394420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","wolfsoftware"],"created_at":"2024-09-24T13:15:42.262Z","updated_at":"2025-10-24T12:31:06.682Z","avatar_url":"https://github.com/TerraformToolbox.png","language":"HCL","funding_links":["https://github.com/sponsors/WolfSoftware","https://github.com/sponsors/TGWolf"],"categories":[],"sub_categories":[],"readme":"\u003c!-- markdownlint-disable --\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/\"\u003e\n        \u003cimg src=\"https://cdn.wolfsoftware.com/assets/images/github/organisations/terraformtoolbox/black-and-white-circle-256.png\" alt=\"TerraformToolbox logo\" /\u003e\n    \u003c/a\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/terraform-aws-vpc/actions/workflows/cicd.yml\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/actions/workflow/status/TerraformToolbox/terraform-aws-vpc/cicd.yml?branch=master\u0026label=build%20status\u0026style=for-the-badge\" alt=\"Github Build Status\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/terraform-aws-vpc/blob/master/LICENSE.md\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/TerraformToolbox/terraform-aws-vpc?color=blue\u0026label=License\u0026style=for-the-badge\" alt=\"License\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/terraform-aws-vpc\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/created-at/TerraformToolbox/terraform-aws-vpc?color=blue\u0026label=Created\u0026style=for-the-badge\" alt=\"Created\"\u003e\n    \u003c/a\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/terraform-aws-vpc/releases/latest\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/v/release/TerraformToolbox/terraform-aws-vpc?color=blue\u0026label=Latest%20Release\u0026style=for-the-badge\" alt=\"Release\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/terraform-aws-vpc/releases/latest\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/release-date/TerraformToolbox/terraform-aws-vpc?color=blue\u0026label=Released\u0026style=for-the-badge\" alt=\"Released\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/terraform-aws-vpc/releases/latest\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/commits-since/TerraformToolbox/terraform-aws-vpc/latest.svg?color=blue\u0026style=for-the-badge\" alt=\"Commits since release\"\u003e\n    \u003c/a\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/terraform-aws-vpc/blob/master/.github/CODE_OF_CONDUCT.md\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Code%20of%20Conduct-blue?style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/terraform-aws-vpc/blob/master/.github/CONTRIBUTING.md\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Contributing-blue?style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/terraform-aws-vpc/blob/master/.github/SECURITY.md\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Report%20Security%20Concern-blue?style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/TerraformToolbox/terraform-aws-vpc/issues\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Get%20Support-blue?style=for-the-badge\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## Overview\n\nA Terraform module for creating an AWS VPC with options to create public and private subnets, NAT gateways, and Internet gateways.\n\n## Usage\n\n### Minimal Usage\n\n```\nmodule \"vpc\" {\n  source      = \"https://github.com/TerraformToolbox/terraform-aws-vpc\"\n  region      = \"us-west-2\"\n  cidr_block  = \"10.0.0.0/16\"\n  vpc_name    = \"my-vpc\"\n}\n```\n\n### All Options\n\n```\nmodule \"vpc\" {\n  source = \"https://github.com/TerraformToolbox/terraform-aws-vpc\"\n\n  region                        = \"us-west-2\"\n  cidr_block                    = \"10.0.0.0/16\"\n  enable_dns_support            = true\n  enable_dns_hostnames          = true\n  instance_tenancy              = \"default\"\n  vpc_name                      = \"my-vpc\"\n  tags                          = { \"Environment\" = \"dev\" }\n\n  create_subnets                = true\n  create_internet_gateway       = true\n  create_nat_gateway            = true\n  public_subnet_cidrs           = [\"10.0.1.0/24\", \"10.0.2.0/24\"]\n  private_subnet_cidrs          = [\"10.0.3.0/24\", \"10.0.4.0/24\"]\n\n  endpoints                     = [\"com.amazonaws.us-west-2.s3\", \"com.amazonaws.us-west-2.dynamodb\"]\n  endpoints_private_dns_enabled = [true, false]\n  endpoints_security_group_ids  = [[\"sg-12345678\"], [\"sg-87654321\"]]\n  endpoints_subnet_ids          = [[\"subnet-1234abcd\"], [\"subnet-abcd1234\"]]\n  endpoints_type                = [\"Gateway\", \"Interface\"]\n}\n```\n\n## Inputs\n\n- `region`: AWS region\n- `cidr_block`: CIDR block for the VPC\n- `enable_dns_support`: Enable DNS support in the VPC\n- `enable_dns_hostnames`: Enable DNS hostnames in the VPC\n- `instance_tenancy`: Tenancy option for instances launched into the VPC\n- `vpc_name`: Name of the VPC\n- `tags`: A map of tags to add to all resources\n- `endpoints`: List of VPC endpoints\n- `endpoints_private_dns_enabled`: List of private DNS enabled for endpoints\n- `endpoints_security_group_ids`: List of security group IDs for endpoints\n- `endpoints_subnet_ids`: List of subnet IDs for endpoints\n- `endpoints_type`: List of endpoint types\n- `create_subnets`: Flag to create subnets automatically\n- `create_internet_gateway`: Flag to create an Internet Gateway\n- `create_nat_gateway`: Flag to create NAT Gateway\n- `public_subnet_cidrs`: List of public subnet CIDR blocks if manually creating subnets\n- `private_subnet_cidrs`: List of private subnet CIDR blocks if manually creating subnets\n\n## Outputs\n\n- `vpc_id`: The ID of the VPC\n- `vpc_arn`: The ARN of the VPC\n- `vpc_cidr_block`: The CIDR block of the VPC\n- `vpc_default_network_acl_id`: The ID of the default network ACL\n- `vpc_default_route_table_id`: The ID of the default route table\n- `vpc_default_security_group_id`: The ID of the default security group\n- `vpc_main_route_table_id`: The ID of the main route table\n- `public_subnet_ids`: The IDs of the public subnets\n- `public_subnet_cidr_blocks`: The CIDR blocks of the public subnets\n- `private_subnet_ids`: The IDs of the private subnets\n- `private_subnet_cidr_blocks`: The CIDR blocks of the private subnets\n- `internet_gateway_id`: The ID of the Internet Gateway\n- `nat_gateway_ids`: The IDs of the NAT Gateways\n- `nat_gateway_ips`: The Elastic IPs of the NAT Gateways\n- `public_route_table_id`: The ID of the public route table\n- `private_route_table_id`: The ID of the private route table\n- `vpc_endpoints`: The IDs of the VPC endpoints\n\n\u003cbr /\u003e\n\u003cp align=\"right\"\u003e\u003ca href=\"https://wolfsoftware.com/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Created%20by%20Wolf%20on%20behalf%20of%20Wolf%20Software-blue?style=for-the-badge\" /\u003e\u003c/a\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraformtoolbox%2Fterraform-aws-vpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fterraformtoolbox%2Fterraform-aws-vpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fterraformtoolbox%2Fterraform-aws-vpc/lists"}