Terraform scripts to deploy Nginx web server.
Version v0.1 contains code used in this blog
-
Clone this git repository.
-
Update
terraform.tfvars
file with desired values. -
Initialize terraform project.
terraform init
- Run terraform plan and output to a file.
terraform plan --out 1.plan
- If happy with the plan, proceed with apply.
terraform apply 1.plan
- For Cleanup, run terraform destroy
terraform destroy