{"id":15861451,"url":"https://github.com/npalm/terraform-aws-vpc","last_synced_at":"2025-06-27T11:33:05.351Z","repository":{"id":44406634,"uuid":"93892140","full_name":"npalm/terraform-aws-vpc","owner":"npalm","description":"Terraform module for creating a VPC on AWS","archived":false,"fork":false,"pushed_at":"2024-04-01T21:02:40.000Z","size":8,"stargazers_count":3,"open_issues_count":2,"forks_count":21,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T13:17:39.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/npalm.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}},"created_at":"2017-06-09T19:51:42.000Z","updated_at":"2021-02-18T10:36:38.000Z","dependencies_parsed_at":"2024-10-27T04:41:47.185Z","dependency_job_id":"e5dd31fc-2bee-4d30-a689-e5d95bcbc992","html_url":"https://github.com/npalm/terraform-aws-vpc","commit_stats":{"total_commits":9,"total_committers":3,"mean_commits":3.0,"dds":0.4444444444444444,"last_synced_commit":"f93888cee3e8244f2fcc5c56fccc3576fce8264d"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npalm%2Fterraform-aws-vpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npalm%2Fterraform-aws-vpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npalm%2Fterraform-aws-vpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npalm%2Fterraform-aws-vpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/npalm","download_url":"https://codeload.github.com/npalm/terraform-aws-vpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709926,"owners_count":20821297,"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":[],"created_at":"2024-10-05T22:01:44.561Z","updated_at":"2025-04-01T20:33:23.743Z","avatar_url":"https://github.com/npalm.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform module for creating a VPC for AWS\n\nThis modules is designed for creating a VPC. Private subnet can be activated optionally to spport [Scenario 2: VPC with Public and Private Subnets (NAT)](http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_Scenario2.html)\n\nFor a standalone example see `test/main.tf`\n\n## Example usages:\n```\nmodule \"vpc\" {\n  source = \"git::https://github.com/npalm/tf-aws-vpc.git?ref=0.5\"\n\n  environment = \"my-awsome-project\"\n  aws_region  = \"eu-west-1\"\n\n  // optional, defaults\n  create_private_hosted_zone = \"true\"\n  create_private_subnets     = \"true\"\n  cidr_block = \"10.0.0.0/16\"\n\n  // example to override default availability_zones\n  availability_zones = {\n    eu-west-1 = [\"eu-west-1a\", \"eu-west-1b\", \"eu-west-1c\"]\n  }\n}\n\n```\n\n\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|:----:|:-----:|:-----:|\n| availability_zones |  | map | `\u003cmap\u003e` | no |\n| aws_region | The Amazon region. | string | - | yes |\n| cidr_block | The CDIR block used for the VPC. | string | `10.0.0.0/16` | no |\n| create_private_hosted_zone | If true a privated hosted zone is created. | string | `true` | no |\n| create_private_subnets | If true create a private subnet for each availability zone including a NAT gateway. | string | `true` | no |\n| environment | A logical name that will be used as prefix and tag for the created resources. | string | `vpc-dev` | no |\n| public_subnet_map_public_ip_on_launch | Set the default behavior for instances created in the VPC. If true by default a publi ip will be assigned. | string | `false` | no |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| availability_zones | List of the availability zones. |\n| private_dns_zone_id | The id of the private DNS zone, if not created an empty string. |\n| private_domain_name | The name assigned to the private DNS zone, if not created an empty string. |\n| private_subnets | A list of the private subnets. |\n| public_subnets | A list of the public subnets. |\n| vpc_cidr | The CDIR block used for the VPC. |\n| vpc_id | The id of the VPC. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpalm%2Fterraform-aws-vpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnpalm%2Fterraform-aws-vpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpalm%2Fterraform-aws-vpc/lists"}