Execute Changes to Infrastructure
Learn how to apply changes to infrastructure in Terraform.
We'll cover the following...
We'll cover the following...
Purpose of the teraform apply` command
The terraform apply command executes changes to the actual environment to align it with the desired state expressed by the configuration or from the execution plan generated by terraform plan.
Creation of an execution plan
By default, terraform apply looks for a Terraform configuration in the current working directory and creates an execution plan based on the desired state and the actual environment. The execution plan is presented to the user for approval. Once the user approves the execution plan, the changes are applied to the actual environment, and the ...