This repository draws inpiration from "Learning Live with AWS & HashiCorp" series.
-
Have an AWS Account.
-
Install HashiCorp Terraform.
-
Have the AWS CLI Installed.
-
Create an AWS IAM User with required permissions.
-
Configure the AWS CLI with the IAM User from Step 4.
- Terraform will read your credentials via the AWS CLI
- Use the AWS user profile to login to AWS using Terraform
-
Clone this repo to an empty directory.
-
Create a
terraform.tfvars
file to add missing variables (optional). -
Run
terraform plan
to see what resources will be created. -
Run
terraform apply
to create the infrastructure on AWS! -
Run
terraform destroy
when you're done to get rid of the infrastructure. -
Run
terraform fmt
to format the code.