Creating a Terraform module to configure AWS ec2 instance and launch docker

What is Terraform?

What is Terraform Module?

Why Terraform is used?

$ terraform init
$ terraform plan
$ terraform apply
$ terraform destroy

Where Terraform is used?

Terraform Lifecycle

My Terraform Module

There are a total of 5 Terraform files:

Terraform Module Code

provider. tf

Practical Demo

terraform init
terraform apply --auto-approve

Checking our setup

I automate things 😉