Terraform AWS EC2 Instance: Plan, Apply, Destroy

Terraform AWS EC2 Instance: Plan, Apply, Destroy

July 26, 2022

We'll cover how to create a simple EC2 instance resource throughly. We'll go through the commands:

terraform init
terraform plan
terraform apply
terraform destroy

More importantly, we'll cover the difference between an update-in-place vs an apply that requires a replacement. We'll also use terraform console to inspect available aws_instance resource attributes.

Links

Explore lesson as part of a learning path

Get full access to these great resources

All for less than the price of coffee a day

44 courses
286 lessons
46+ hours

Get started with BoltOps Learn now and get access to easy and powerful lessons

BoltOps Tools