In this lab you will create an S3 bucket that will be used to store Terraform state files
- You can find the Terraform configuration for the S3 bucket here. The Terraform configuration files are used to create an S3 bucket that will store your TFSTATE.
The Terraform main.tf
will do a few things:
- Create the S3 bucket in the
us-east-1
region - Ensure that version enabling is set to
True
- Utilize AES256 encryption
- Create the bucket by running the following:
terraform init
- To initialize the working directory and pull down the providerterraform plan
- To go through a "check" and confirm the configurations are valid- `terraform apply - To create the resource