Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 782 Bytes

File metadata and controls

17 lines (13 loc) · 782 Bytes

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.