Complete the code to initialize a Terraform working directory.
terraform [1]The terraform init command initializes the working directory by downloading necessary plugins and preparing the environment.
Complete the code to see the changes Terraform will make to your infrastructure.
terraform [1]The terraform plan command shows the execution plan, detailing what changes will be made without applying them.
Fix the error in the command to apply changes to infrastructure.
terraform [1] -auto-approveThe terraform apply command applies the changes required to reach the desired state of the configuration. The -auto-approve flag skips manual approval.
Fill both blanks to destroy all managed infrastructure without confirmation.
terraform [1] -[2]
The terraform destroy command removes all resources managed by Terraform. The -auto-approve flag skips the confirmation prompt.
Fill both blanks to validate the Terraform configuration and show detailed output.
terraform [1] -[2]
The terraform validate command checks the syntax and internal consistency of the configuration files. The -json flag outputs the validation result in JSON format for detailed analysis.