Introduction to Infrastructure as Code with Terraform
What is Infrastructure as Code and Why is Terraform Useful?
Install Terraform on Mac, Linux, or Windows by downloading the binary or using a package manager (Homebrew or Chocolatey). Then...
Go through each block of your Docker infrastructure, format your Terraform configuration, and review your infrastructure state.
Modify Docker container configuration to use a different external port. Plan and apply the changes to re-provision a new...
Destroy the Docker container you created in the previous tutorials. Evaluate the plan and confirm the destruction.
Define Input Variables
Declare your Docker container name as a variable. Reference the variable in Terraform configuration. Define variables using...
Query Data with Outputs
Declare output values to display a Docker containers name and ID. Display all outputs and query specific outputs. Define what...