Skip to content
This repo has different examples which covers all functionality of terraform
HCL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
module-example module example readme added Dec 25, 2019
s3backend-dynamo
shared-modules
terraform-import
variable-example
.gitignore s3 backend example added Dec 24, 2019
README.md readme updated Dec 25, 2019

README.md

terraform-example

This repo has terraform different examples which covers all functionality of terraform

Quick start

Note: These examples deploy resources into your AWS account. Although all the resources should fall under the AWS Free Tier, it is not my responsibility if you are charged money for this.

  1. Install Terraform.
  2. Set your AWS credentials as the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.
  3. cd into one of the example folders.
  4. Run terraform init.
  5. Run terraform plan
  6. Run terraform apply.
  7. After it's done deploying, you could see your resources in aws account.
  8. To clean up and delete all resources after you're done, run terraform destroy.
You can’t perform that action at this time.