Questions
The answers to the following questions can be found in the Assessments section at the end of this book:
- How many spaces of indentation are recommended for each nesting level in the Terraform configuration file?
A. One
B. Two
C. Three
D. Four
- With which of the following ways can you place comments in the Terraform configuration file?
A. #
B. !
C. </
D. />
- Which command can be dedicatedly used to perform a syntax check of the Terraform configuration file?
A. terraform validate
B. terraform syntax
C. terraform fmt
D. terraform plan
- Suppose you have written a Terraform configuration file for Azure that will provision a storage account in Azure. How can you validate the name of the storage account that was provisioned?
A. Define output values in the outputs.tf
file.
B. Manually go inside the state file and look for those specific values.
C. Run the terraform show
command.
D. Run...