If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform Init.
Which are examples of infrastructure as code? Choose two correct answers.
When declaring a variable, setting the sensitive argument to true will prevent the value from being stored in the state file.
Once you configure a new Terraform backend with a terraform code block, which command(s) should you use to migrate the state file?
Which of the following ate advantages of using infrastructure as code (laC) instead of provisioning with a graphical user interface (GUI)? Choose two correct answers.
Which of the following is not an action performed by terraform init?
Module variable assignments are inherited from the parent module and you do not need to explicitly set them.
Your Terraform configuration manages a resource that requires maximum uptime. You need to update the resource, and when you run terraform plan, Terraform indicates that the update requires the resource to be destroyed and recreated.
Which lifecycle rule can you add to the resource to reduce downtime while still applying the update?
Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?
You’ve just finished refactoring part of your Terraform workspace’s configuration to use a module to manage some of your resources. When you plan your changes, you notice that Terraform will destroy and recreate the affected resources. Doing so could cause unintended downtime in the application your workspace manages. What supported approach should you take to complete the refactor without destroying and recreating your resources?