{"id":19107220,"url":"https://github.com/govtechsg/terraform-aws-vpc","last_synced_at":"2025-04-30T18:22:22.064Z","repository":{"id":74216815,"uuid":"148251587","full_name":"GovTechSG/terraform-aws-vpc","owner":"GovTechSG","description":"Opinionated Terraform Module for provisioning a VPC on AWS","archived":false,"fork":false,"pushed_at":"2020-01-23T07:57:40.000Z","size":18,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-19T08:10:26.520Z","etag":null,"topics":["aws","terraform","vpc"],"latest_commit_sha":null,"homepage":null,"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/GovTechSG.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":"2018-09-11T02:56:35.000Z","updated_at":"2023-03-30T15:28:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"43d679e0-1fd2-49d5-b9f4-c86abf00d7da","html_url":"https://github.com/GovTechSG/terraform-aws-vpc","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GovTechSG%2Fterraform-aws-vpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GovTechSG%2Fterraform-aws-vpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GovTechSG%2Fterraform-aws-vpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GovTechSG%2Fterraform-aws-vpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GovTechSG","download_url":"https://codeload.github.com/GovTechSG/terraform-aws-vpc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251758416,"owners_count":21639032,"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","vpc"],"created_at":"2024-11-09T04:11:40.295Z","updated_at":"2025-04-30T18:22:22.056Z","avatar_url":"https://github.com/GovTechSG.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-aws-vpc\n\nThis is an opinionated Terraform Module for provisioning a VPC on AWS. It makes use of the community\nprovided (extensive) [module](https://github.com/terraform-aws-modules/terraform-aws-vpc) to\nprovision a VPC on AWS.\n\nIn particular, it does the following:\n\n- Provisions (optional) public, private, database, intra and redshift subnets\n- One NAT gateway per AZ\n- Removes all default security group and ACL rules\n- Provides sane ACL rules for network access\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | \u003e= 2.0 |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:-----:|\n| additional\\_allowed\\_cidr\\_blocks | Additional 'safe' CIDR blocks for internal traffic | `list(string)` | `[]` | no |\n| database\\_subnets | List of CIDRs for database subnets | `list(string)` | `[]` | no |\n| eip\\_count | Number of EIP for the gateways. This should be eqaual to the number of AZs if you have any private subnets | `number` | `3` | no |\n| elasticache\\_subnets | List of CIDRs for Elasticache subnets | `list(string)` | `[]` | no |\n| enable\\_dynamodb\\_endpoint | Should be true if you want to provision a DynamoDB endpoint to the VPC | `bool` | `false` | no |\n| enable\\_s3\\_endpoint | Should be true if you want to provision an S3 endpoint to the VPC | `bool` | `false` | no |\n| ephemeral\\_from | Lower end of the port range for ephemeral traffic | `number` | `1024` | no |\n| ephemeral\\_to | Lower end of the port range for ephemeral traffic | `number` | `65535` | no |\n| intra\\_subnets | List of CIDRs for intra subnets | `list(string)` | `[]` | no |\n| private\\_subnets | List of CIDRs for private subnets | `list(string)` | `[]` | no |\n| public\\_subnets | List of CIDRs for public subnets | `list(string)` | `[]` | no |\n| redshift\\_subnets | List of CIDRs for Redshift subnets | `list(string)` | `[]` | no |\n| tags | A map of tags to add to all resources | `map(string)` | \u003cpre\u003e{\u003cbr\u003e  \"Terraform\": \"true\"\u003cbr\u003e}\u003cbr\u003e\u003c/pre\u003e | no |\n| vpc\\_cidr | CIDR for the VPC | `string` | n/a | yes |\n| vpc\\_name | Name of the VPC | `string` | n/a | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| database\\_acl\\_id | ACL ID of the database subnets |\n| elasticache\\_route\\_table\\_ids | List of IDs of elasticache route tables |\n| elasticache\\_subnet\\_group | ID of elasticache subnet group |\n| elasticache\\_subnet\\_group\\_name | Name of elasticache subnet group |\n| elasticache\\_subnets | List of IDs of elasticache subnets |\n| elasticache\\_subnets\\_cidr\\_blocks | List of cidr\\_blocks of elasticache subnets |\n| intra\\_acl\\_id | ACL ID of the intra subnets |\n| intra\\_subnets\\_cidr\\_blocks | List of cidr\\_blocks of intra subnets |\n| private\\_acl\\_id | ACL ID of the private subnets |\n| private\\_subnets\\_cidr\\_blocks | List of cidr\\_blocks of private subnets |\n| public\\_acl\\_id | ACL ID of the public subnets |\n| public\\_subnets\\_cidr\\_blocks | List of cidr\\_blocks of public subnets |\n| redshift\\_route\\_table\\_ids | List of IDs of redshift route tables |\n| redshift\\_subnet\\_group | ID of redshift subnet group |\n| redshift\\_subnets | List of IDs of redshift subnets |\n| redshift\\_subnets\\_cidr\\_blocks | List of cidr\\_blocks of redshift subnets |\n| vpc\\_azs | The AZs in the region the VPC belongs to |\n| vpc\\_cidr\\_block | The CIDR block of the VPC |\n| vpc\\_database\\_subnet\\_group | ID of database subnet group |\n| vpc\\_database\\_subnets | List of IDs of database subnets |\n| vpc\\_database\\_subnets\\_cidr\\_blocks | List of cidr\\_blocks of database subnets |\n| vpc\\_id | The ID of the VPC |\n| vpc\\_intra\\_subnets | 'Intra' subnets for the VPC |\n| vpc\\_nat\\_eip\\_ids | EIP for the NAT gateway in the VPC |\n| vpc\\_nat\\_eip\\_public | Public address for the EIP on the NAT Gateway |\n| vpc\\_private\\_route\\_table\\_ids | List of IDs of private route tables |\n| vpc\\_private\\_subnets | Private subnets for the VPC |\n| vpc\\_public\\_route\\_table\\_ids | The IDs of the public route tables |\n| vpc\\_public\\_subnets | Public subnets for the VPC |\n| vpc\\_region | The region the VPC belongs to |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgovtechsg%2Fterraform-aws-vpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgovtechsg%2Fterraform-aws-vpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgovtechsg%2Fterraform-aws-vpc/lists"}