For this demo you need to setup the following
- Go to your aws account on security_credentials
- Select Access Keys
- Create New Access Key
You should download a CSV file that contains a AWS AcessKeyId and AWS Secret KeyID
- Open your CLI and run the following command
-
aws configure
- copy and paste the access key and secret key
- select the default region just press enter
Initialize terraform
terraform init
Give format to the files
terraform fmt
Show the plan to be launched
terraform plan
Apply changes
terraform apply
Show the components that has been launched
terraform state list
Show all the information of the launched configuration, it read the content on the file terraform.tfstate
terraform show
Destroy everythin
terraform destroy