{"id":21261378,"url":"https://github.com/dflook/terraform-aws-vpc-network","last_synced_at":"2026-03-19T19:31:02.374Z","repository":{"id":241381413,"uuid":"803918736","full_name":"dflook/terraform-aws-vpc-network","owner":"dflook","description":"Composable modules for creating AWS VPCs","archived":false,"fork":false,"pushed_at":"2024-06-13T15:19:05.000Z","size":76,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T16:49:09.466Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dflook.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2024-05-21T15:55:12.000Z","updated_at":"2024-06-13T15:18:04.000Z","dependencies_parsed_at":"2024-11-21T04:39:29.124Z","dependency_job_id":null,"html_url":"https://github.com/dflook/terraform-aws-vpc-network","commit_stats":null,"previous_names":["dflook/terraform-aws-vpc-network"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dflook/terraform-aws-vpc-network","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflook%2Fterraform-aws-vpc-network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflook%2Fterraform-aws-vpc-network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflook%2Fterraform-aws-vpc-network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflook%2Fterraform-aws-vpc-network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dflook","download_url":"https://codeload.github.com/dflook/terraform-aws-vpc-network/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dflook%2Fterraform-aws-vpc-network/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29327888,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T03:52:29.695Z","status":"ssl_error","status_checked_at":"2026-02-11T03:52:23.094Z","response_time":97,"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":[],"created_at":"2024-11-21T04:29:21.778Z","updated_at":"2026-02-11T06:03:48.075Z","avatar_url":"https://github.com/dflook.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS VPC Terraform Modules\n\nThis collection of modules is used to create and manage AWS VPCs.\n\nThe modules are designed to be composable, allowing you to use them together in different combinations to create different infrastructure setups.\n\nThis collection includes the following modules:\n- [VPC](https://registry.terraform.io/modules/dflook/vpc-network/aws/latest/submodules/vpc)\n- [Subnets](https://registry.terraform.io/modules/dflook/vpc-network/aws/latest/submodules/subnets)\n- [Internet Gateway](https://registry.terraform.io/modules/dflook/vpc-network/aws/latest/submodules/internet_gateway)\n- [NAT Gateway](https://registry.terraform.io/modules/dflook/vpc-network/aws/latest/submodules/nat_gateway)\n- [CloudWatch Flow Logs](https://registry.terraform.io/modules/dflook/vpc-network/aws/latest/submodules/cloudwatch_flow_logs)\n- [AWS Endpoint Subnets](https://registry.terraform.io/modules/dflook/vpc-network/aws/latest/submodules/aws_endpoints)\n\nThis parent module can be used to create a generic VPC.\nIf this doesn't meet your requirements, you can use it as an example to create your own VPC module using the individual submodules.\n\nThis module creates a VPC across the specified availability zones.\nThe VPC has:\n- public subnets with a route to the internet through a internet gateway\n- private subnets with a route to the internet through a NAT gateway\n- internal subnets with no route to the internet\n- These subnets also have routes to dynamodb and s3 Gateway VPC interface endpoints\n- aws_endpoint subnets with VPC Interface endpoints for the specified AWS services, and a security group that can be used in security group rules to allow traffic to the endpoints.\n\n\u003c!-- BEGIN_TF_DOCS --\u003e\n## Requirements\n\nThe following requirements are needed by this module:\n\n- terraform (\u003e=1.3.2)\n\n- aws (\u003e=4.35)\n\n## Required Inputs\n\nThe following input variables are required:\n\n### availability\\_zones\n\nDescription: Availability zones to create the subnets in.\n\nExample: `[\"a\", \"b\", \"c\"]`\n\nType: `set(string)`\n\n## Optional Inputs\n\nThe following input variables are optional (have default values):\n\n### name\n\nDescription: The name of the VPC. Must be unique within the AWS account.\n\nType: `string`\n\nDefault: `\"vpc\"`\n\n### cidr\\_block\n\nDescription: The CIDR block for the VPC.\n\nType: `string`\n\nDefault: `\"10.0.0.0/16\"`\n\n### aws\\_interface\\_vpc\\_endpoints\n\nDescription: A list of AWS services to create AWS VPC Interface Endpoints for.\n\nThe full list of available aws services can be found at:  \nhttps://docs.aws.amazon.com/vpc/latest/privatelink/aws-services-privatelink-support.html\n\nExample: `[\"ec2\", \"sns\"]`\n\nType: `set(string)`\n\nDefault: `[]`\n\n### tags\n\nDescription: A map of tags to apply to all resources.\n\nType: `map(string)`\n\nDefault: `{}`\n\n## Outputs\n\nThe following outputs are exported:\n\n### vpc\n\nDescription: Structured information about the VPC.\n\nType:\n\n```hcl\nobject({\n    id          = string,\n    name        = string,\n    cidr_block  = string,\n    region_name = string\n})\n```\n\nExample:\n\n```hcl\n{\n    id          = \"vpc-123456\"\n    name        = \"my-vpc\",\n    cidr_block  = \"10.0.0.0/16\",\n    region_name = \"us-west-2\"\n}\n```\n\n### public\\_subnets\n\nDescription: Structured information about the public subnets.\n\nThis is a map of availability zone index to subnet information.\n\nType:\n```hcl\nmap(object({\n  id                     = string\n  availability_zone      = string\n  availability_zone_id   = string\n  availability_zone_name = string\n  cidr_block             = string\n  network_acl_id         = string\n  route_table_id         = string\n  name                   = string\n}))\n```\n\nExample:\n```hcl\n{\n  a = {\n    id                     = \"subnet-12345678\"\n    availability_zone      = \"a\"\n    availability_zone_id   = \"usw2-az1\"\n    availability_zone_name = \"us-west-2a\"\n    cidr_block             = \"10.145.0.0/16\"\n    network_acl_id         = \"acl-12345678\"\n    route_table_id         = \"rtb-12345678\"\n    name                   = \"my-vpc_public_a\"\n  }\n}\n```\n\n### private\\_subnets\n\nDescription: Structured information about the public subnets.\n\nThis is a map of availability zone index to subnet information.\n\nType:\n```hcl\nmap(object({\n  id                     = string\n  availability_zone      = string\n  availability_zone_id   = string\n  availability_zone_name = string\n  cidr_block             = string\n  network_acl_id         = string\n  route_table_id         = string\n  name                   = string\n}))\n```\n\nExample:\n```hcl\n{\n  a = {\n    id                     = \"subnet-12345678\"\n    availability_zone      = \"a\"\n    availability_zone_id   = \"usw2-az1\"\n    availability_zone_name = \"us-west-2a\"\n    cidr_block             = \"10.145.0.0/16\"\n    network_acl_id         = \"acl-12345678\"\n    route_table_id         = \"rtb-12345678\"\n    name                   = \"my-vpc_private_a\"\n  }\n}\n```\n\n### aws\\_interface\\_endpoint\\_sg\n\nDescription: The security group ID of the interface endpoints.\n\nThis can be referenced in security group rules to allow access to the VPC Interface Endpoints for the AWS services specified in the `aws_interface_vpc_endpoints` variable.\n\nType: `string`\n\nExample: `\"sg-0123456789abcdef0\"`\n\u003c!-- END_TF_DOCS --\u003e\n\n## Examples\n\nFor examples see the [examples](https://github.com/dflook/terraform-aws-vpc-network/tree/main/examples) directory.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflook%2Fterraform-aws-vpc-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdflook%2Fterraform-aws-vpc-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdflook%2Fterraform-aws-vpc-network/lists"}