Skip to content

pradeepbhadani/terraform-webserver

Repository files navigation

Terraform Webserver

Terraform scripts to deploy Nginx web server.
Version v0.1 contains code used in this blog

How to Run?

  1. Clone this git repository.

  2. Update terraform.tfvars file with desired values.

  3. Initialize terraform project.

terraform init
  1. Run terraform plan and output to a file.
terraform plan --out 1.plan
  1. If happy with the plan, proceed with apply.
terraform apply 1.plan
  1. For Cleanup, run terraform destroy
terraform destroy