{"id":15393866,"url":"https://github.com/mitchellh/terraform-aws-vpc","last_synced_at":"2025-04-14T10:35:23.673Z","repository":{"id":66228479,"uuid":"98378541","full_name":"mitchellh/terraform-aws-vpc","owner":"mitchellh","description":"Temporary, testing something, ignore this.","archived":false,"fork":false,"pushed_at":"2018-02-27T17:15:46.000Z","size":5,"stargazers_count":5,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T05:59:26.725Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitchellh.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-07-26T04:12:56.000Z","updated_at":"2019-09-19T09:07:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"95c92c69-30b1-4769-a23e-f0bca6180a4e","html_url":"https://github.com/mitchellh/terraform-aws-vpc","commit_stats":{"total_commits":2,"total_committers":2,"mean_commits":1.0,"dds":0.5,"last_synced_commit":"990bf5d001e63900f52ea75412010f6fbd8de3c4"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fterraform-aws-vpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fterraform-aws-vpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fterraform-aws-vpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitchellh%2Fterraform-aws-vpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitchellh","download_url":"https://codeload.github.com/mitchellh/terraform-aws-vpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248863443,"owners_count":21174004,"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-01T15:20:37.311Z","updated_at":"2025-04-14T10:35:23.646Z","avatar_url":"https://github.com/mitchellh.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"vpc terraform module\n===========\n\n**NOTE: THIS IS A FORK, IGNORE THIS. I WILL DELETE THIS REPO SHORTLY.**\n\nTest edit here.\n\nA terraform module to provide a VPC in AWS.\n\n\nModule Input Variables\n----------------------\n\n- `name` - name to be used on all the resources created by the module\n- `cidr` - the CIDR block for the VPC\n- `instance_tenancy` - tenancy option for instances launched into the VPC\n- `public_subnets` - list of public subnet cidrs\n- `private_subnets` - list of private subnet cidrs\n- `database_subnets` - list of private RDS subnet cidrs\n- `elasticache_subnets` - list of private Elasticache subnet cidrs\n- `azs` - list of AZs in which to distribute subnets\n- `enable_dns_hostnames` - should be true if you want to use private DNS within the VPC\n- `enable_dns_support` - should be true if you want to use private DNS within the VPC\n- `enable_nat_gateway` - should be true if you want to provision NAT Gateways\n- `enable_s3_endpoint` - should be true if you want to provision an S3 endpoint within the VPC\n- `map_public_ip_on_launch` - should be false if you do not want to auto-assign public IP on launch\n- `private_propagating_vgws` - list of VGWs the private route table should propagate\n- `public_propagating_vgws` - list of VGWs the public route table should propagate\n- `tags` - dictionary of tags that will be added to resources created by the module\n- `public_subnet_tags` - dictionary of tags that will be added to public subnets created by the module\n- `private_subnet_tags` - dictionary of tags that will be added to private subnets created by the module\n- `database_subnet_tags` - dictionary of tags that will be added to database subnets created by the module\n- `elasticache_subnet_tags` - dictionary of tags that will be added to elasticache subnets created by the module\n\nIt's generally preferable to keep `public_subnets`, `private_subnets`, and\n`azs` to lists of the same length.\n\nThis module optionally creates NAT Gateways (one per availability zone) and sets them\nas the default gateways for the corresponding private subnets.\n\nUsage\n-----\n\n```hcl\nmodule \"vpc\" {\n  source = \"github.com/terraform-community-modules/tf_aws_vpc\"\n\n  name = \"my-vpc\"\n\n  cidr = \"10.0.0.0/16\"\n  private_subnets = [\"10.0.1.0/24\", \"10.0.2.0/24\", \"10.0.3.0/24\"]\n  public_subnets  = [\"10.0.101.0/24\", \"10.0.102.0/24\", \"10.0.103.0/24\"]\n\n  enable_nat_gateway = \"true\"\n\n  azs      = [\"us-west-2a\", \"us-west-2b\", \"us-west-2c\"]\n\n  tags {\n    \"Terraform\" = \"true\"\n    \"Environment\" = \"${var.environment}\"\n  }\n}\n```\n\nFor Terraform version older than 0.7.0 use `ref=v1.0.0`:\n`source = \"github.com/terraform-community-modules/tf_aws_vpc?ref=v1.0.0\"`\n\nOutputs\n=======\n\n - `vpc_id` - does what it says on the tin\n - `private_subnets` - list of private subnet ids\n - `public_subnets` - list of public subnet ids\n - `database_subnets` - list of database subnets ids\n - `database_subnet_group` - db subnet group name\n - `elasticache_subnets` - list of elasticache subnets ids\n - `elasticache_subnet_group` - elasticache subnet group name\n - `public_route_table_ids` - list of public route table ids\n - `private_route_table_ids` - list of private route table ids\n - `default_security_group_id` - VPC default security group id string\n - `nat_eips` - list of Elastic IP ids (if any are provisioned)\n - `nat_eips_public_ips` - list of NAT gateways' public Elastic IP's (if any are provisioned)\n - `natgw_ids` - list of NAT gateway ids\n - `igw_id` - Internet Gateway id string\n\n**NOTE**: previous versions of this module returned a single string as a route\ntable ID, while this version returns a list.\n\nAuthors\n=======\n\nOriginally created and maintained by [Casey Ransom](https://github.com/cransom)\nHijacked by [Paul Hinze](https://github.com/phinze)\n\nLicense\n=======\n\nApache 2 Licensed. See LICENSE for full details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fterraform-aws-vpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellh%2Fterraform-aws-vpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellh%2Fterraform-aws-vpc/lists"}