Amazon Web Services
AWS-17 intermediate
Terraform on AWS: init, plan, apply, change and destroy from CloudShell
Use the Terraform workflow against your AWS account: initialise the AWS provider, read an execution plan, apply it, use outputs and state, change the configuration and see in-place updates versus additions, and destroy everything cleanly.
What you'll do
- Initialise a Terraform working directory and provider
- Read plans: create, update in-place, replace, destroy
- Apply changes and use outputs
- Inspect state
- Destroy managed infrastructure
Lab tasks
- 1 Initialise the working directory
- 2 Read the execution plan
- 3 Apply it
- 4 Use outputs and state
- 5 Change the configuration and plan again
- 6 Apply the change
- 7 Destroy everything