Using Terraform to Create AWS S3 Bucket
- Resource:
- S3 Bucket
-
Inputs required for resource:
- region (location)
- name
- Try: Creating S3 bucket manually
Configure AWS CLI Credentials
- Terraform provider by default uses CLI Credentials
- Watch classroom recording on how to create credentials
- Ensure AWS CLI is installed
- Once access key is generated execute
aws configureon terminal
Lets write template
- references
- Refer Here for changes done
Terraform workflow

Terraform always tries to match your desired state
- In Terraform we use declarative programming to define what we want (desired state)
- Terraform will work to manage infrastructure to meet your desired state.

