{"id":15874255,"url":"https://github.com/garutilorenzo/aws-terraform-examples","last_synced_at":"2025-08-13T00:32:32.547Z","repository":{"id":154321527,"uuid":"481201389","full_name":"garutilorenzo/aws-terraform-examples","owner":"garutilorenzo","description":"AWS terraform examples, provision AWS resources using terraform modules","archived":false,"fork":false,"pushed_at":"2024-02-02T14:52:01.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-27T08:51:59.871Z","etag":null,"topics":["aws","cloud","iac-terraform","terraform","terraform-module","terraform-modules"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/garutilorenzo.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":"2022-04-13T12:10:33.000Z","updated_at":"2023-01-21T19:45:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"a4a72649-1e5a-4537-9171-1206cb673d72","html_url":"https://github.com/garutilorenzo/aws-terraform-examples","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Faws-terraform-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Faws-terraform-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Faws-terraform-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/garutilorenzo%2Faws-terraform-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/garutilorenzo","download_url":"https://codeload.github.com/garutilorenzo/aws-terraform-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229717745,"owners_count":18113400,"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","cloud","iac-terraform","terraform","terraform-module","terraform-modules"],"created_at":"2024-10-06T01:21:32.849Z","updated_at":"2024-12-14T15:13:31.293Z","avatar_url":"https://github.com/garutilorenzo.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub issues](https://img.shields.io/github/issues/garutilorenzo/aws-terraform-examples)](https://github.com/garutilorenzo/aws-terraform-examples/issues)\n![GitHub](https://img.shields.io/github/license/garutilorenzo/aws-terraform-examples)\n[![GitHub forks](https://img.shields.io/github/forks/garutilorenzo/aws-terraform-examples)](https://github.com/garutilorenzo/aws-terraform-examples/network)\n[![GitHub stars](https://img.shields.io/github/stars/garutilorenzo/aws-terraform-examples)](https://github.com/garutilorenzo/aws-terraform-examples/stargazers)\n\n# AWS terraform examples\n\nIn this repositroy there are 3 terrafrom modules, in order of dependency:\n\n* [private-vpc](private-vpc/) - Setup a VPC with private and public subnets\n* [bastion-host](bastion-host/) - Setup a bastion host to reach private resources\n* [ec2-instance](ec2-instance) - Deploy a simple ec2 instance\n\nFor more information on how to use this modules follow the examples in the *examples* directory. To use this repository, clone this repository and use the *example* directory as base dir.\n\n## Requirements\n\n* [Terraform](https://www.terraform.io/) - Terraform is an open-source infrastructure as code software tool that provides a consistent CLI workflow to manage hundreds of cloud services. Terraform codifies cloud APIs into declarative configuration files.\n* [Amazon AWS Account](https://aws.amazon.com/it/console/) - Amazon AWS account with billing enabled\n* [aws cli](https://aws.amazon.com/cli/) optional\n\n## Before you start\n\nNote that this tutorial uses AWS resources that are outside the AWS free tier, so be careful!\n\n## AWS provider setup\n\nFollow the prerequisites step on [this](https://learn.hashicorp.com/tutorials/terraform/aws-build?in=terraform/aws-get-started) link.\nIn your workspace folder or in the [examples](examples/) directory of this repo create a file named terraform.tfvars:\n\n```\nAWS_ACCESS_KEY = \"xxxxxxxxxxxxxxxxx\"\nAWS_SECRET_KEY = \"xxxxxxxxxxxxxxxxx\"\n```\n\n### Project setup\n\nOnce you have cloned this repo, change directory to [examples](examples/) dir. Edit the example file (main.tf) and set the needed variables (*change-me* variables). Crate a *terraform.tfvars* file, for more detail see [AWS provider setup](#aws-provider-setup) and read all the modules requirements in each module directory.\n\nOr if you prefer you can create a new empty directory in your workspace and start a new project from scratch. To setup the project follow the README.md in the [examples](examples/) directory.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarutilorenzo%2Faws-terraform-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgarutilorenzo%2Faws-terraform-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgarutilorenzo%2Faws-terraform-examples/lists"}