{"id":21429603,"url":"https://github.com/dc-tec/aws-tf-vpc","last_synced_at":"2026-01-03T13:37:13.103Z","repository":{"id":218290625,"uuid":"732197335","full_name":"dc-tec/aws-tf-vpc","owner":"dc-tec","description":"AWS Terraform Playground","archived":false,"fork":false,"pushed_at":"2024-03-02T21:01:31.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T08:17:41.738Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dc-tec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"docs/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-15T22:31:52.000Z","updated_at":"2024-01-21T00:30:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab97a2d9-6d3c-4223-baeb-9fda7d4827e3","html_url":"https://github.com/dc-tec/aws-tf-vpc","commit_stats":null,"previous_names":["dc-tec/aws-tf-vpc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dc-tec%2Faws-tf-vpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dc-tec%2Faws-tf-vpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dc-tec%2Faws-tf-vpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dc-tec%2Faws-tf-vpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dc-tec","download_url":"https://codeload.github.com/dc-tec/aws-tf-vpc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940062,"owners_count":20372044,"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-11-22T22:18:25.406Z","updated_at":"2026-01-03T13:37:13.058Z","avatar_url":"https://github.com/dc-tec.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform AWS Infrastructure\n\nThis repository contains Terraform code for provisioning AWS infrastructure, including a VPC and EC2 instances.\n\n## Prerequisites\n\n- Terraform \u003e= 1.7.0\n- AWS Provider ~\u003e 5.0\n\n## Modules\n\nThis Terraform configuration includes the following modules:\n\n### VPC Module\n\nThe VPC module creates a VPC and related networking components. It takes the following inputs:\n\n- `vpc_config`: Configuration for the VPC.\n- `sn_config`: Configuration for the subnets.\n- `igw_config`: Configuration for the internet gateway.\n- `ngw_config`: Configuration for the NAT gateway.\n- `rt_config`: Configuration for the route tables.\n- `rta_config`: Configuration for the route table associations.\n- `sg_config`: Configuration for the security groups.\n\n### S3 Module\n\nThe S3 module creates an S3 Bucket, it takes the following input:\n\n- `s3_config`: Configuration for the S3 Bucket\n\nThe S3 Bucket module also expects a policy, please use a `aws_iam_policy_document` to define a policy for your S3 bucket\n\n### EC2 Module\n\nThe EC2 module creates EC2 instances. It depends on the VPC module and takes the following input:\n\n- `ec2_instance_config`: Configuration for the EC2 instances.\n\n## Usage\nBefore you run, make sure that you have a IAM account in AWS with access and secret keys. Set these as environment variables:\n```sh\n export AWS_ACCESS_KEY_ID=\u003cACCES_KEY_ID\u003e\n export AWS_SECRET_ACCESS_KEY=\u003cACCESS_KEY\u003e\n```\n\nTo use this Terraform configuration, first initialize your Terraform workspace:\n```sh\nterraform init\n```\n\nThen, create a plan:\n```sh\nterraform plan\n```\n\nIf the plan looks good, apply it:\n```sh\nterraform apply\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdc-tec%2Faws-tf-vpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdc-tec%2Faws-tf-vpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdc-tec%2Faws-tf-vpc/lists"}