Questions
The answers to these questions can be found in the Assessments section at the end of this book:
- Terraform is written using the HashiCorp Configuration Language (HCL). What other syntax can Terraform be written in?
A. JSON
B. YAML
C. TypeScript
D. XML
- The following is a Terraform code snippet from your Terraform configuration file:
provider "aws" { region = "us-east-1" } provider "aws" { region = "us-east-2" }
When validated, it results in the following error:
Error: Duplicate provider configuration on main.tf line 5: provider "aws" { A default provider configuration for "aws" was already given at main.tf:1,1-15. If multiple configurations are required, set the "______" argument for alternative configurations.
Fill in the blank in the error message with the correct string from the following list:
A. version
B. multi
C. label
D...