Terraform Workflow:
Init: This step initializes a working directory containing the Terraform configuration files. This is the first step you should run after writing a new Terraform configuration.
Validate: This step validates the Terraform configuration files in the working directory to ensure they are syntactically valid and internally consistent.
Plan: This step creates an execution plan that shows what Terraform will do to your infrastructure if you apply the configuration.
Apply: This step applies the changes required to reach the desired state of the configuration. By default, the application scans the current directory for the configuration and applies the changes appropriately. It will ask for confirmation before destroying it.
Destroy: This step destroys the Terraform-managed infrastructure. I hope this helps! Let me know if you have any other questions about Terraform.
Top comments (0)