{"id":15686014,"url":"https://github.com/cirocosta/sample-aws-networking","last_synced_at":"2025-07-08T18:33:46.003Z","repository":{"id":73883921,"uuid":"121878627","full_name":"cirocosta/sample-aws-networking","owner":"cirocosta","description":"Example of AWS networking setup using Terraform","archived":false,"fork":false,"pushed_at":"2018-02-19T21:38:29.000Z","size":12,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-07T18:51:45.573Z","etag":null,"topics":["aws","networking","terraform","vpc"],"latest_commit_sha":null,"homepage":"https://ops.tips/blog/a-pratical-look-at-basic-aws-networking","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/cirocosta.png","metadata":{"files":{"readme":"README.txt","changelog":null,"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":"2018-02-17T17:59:28.000Z","updated_at":"2019-12-22T20:52:15.000Z","dependencies_parsed_at":"2023-04-14T01:22:45.069Z","dependency_job_id":null,"html_url":"https://github.com/cirocosta/sample-aws-networking","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cirocosta/sample-aws-networking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fsample-aws-networking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fsample-aws-networking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fsample-aws-networking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fsample-aws-networking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cirocosta","download_url":"https://codeload.github.com/cirocosta/sample-aws-networking/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirocosta%2Fsample-aws-networking/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264324244,"owners_count":23590827,"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","networking","terraform","vpc"],"created_at":"2024-10-03T17:34:40.162Z","updated_at":"2025-07-08T18:33:45.984Z","avatar_url":"https://github.com/cirocosta.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n    DESCRIPTION\n\n        This repository holds an example of using Terraform to set up\n        basic AWS networking for a multi-az environment in a single \n        region.\n\n        It consists of:\n            -   single VPC\n            -   multiple subnets via single configuration\n\n        `main.tf` summarizes the usage of the custom `networking` module:\n\n\n\n            module \"networking\" {\n              source = \"./networking\"\n              cidr   = \"10.0.0.0/16\"\n\n              \"az-subnet-mapping\" = [\n                {\n                  name = \"subnet1\"\n                  az   = \"sa-east-1a\"\n                  cidr = \"10.0.0.0/24\"\n                },\n                {\n                  name = \"subnet2\"\n                  az   = \"sa-east-1c\"\n                  cidr = \"10.0.1.0/24\"\n                },\n              ]\n            }\n\n\n            resource \"aws_instance\" \"inst1\" {\n              instance_type = \"t2.micro\"\n              ami           = \"${data.aws_ami.ubuntu.id}\"\n              key_name      = \"${aws_key_pair.main.id}\"\n              subnet_id     = \"${module.networking.az-subnet-id-mapping[\"subnet1\"]}\"\n            }\n\n\n    MORE\n\n        https://ops.tips/blog/a-pratical-look-at-basic-aws-networking\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Fsample-aws-networking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcirocosta%2Fsample-aws-networking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirocosta%2Fsample-aws-networking/lists"}