Questions
The answers to the following questions can be found in the Assessments section at the end of this book:
- Which of the following actions are performed during a
terraform init
operation?
A. Initializes downloaded or installed providers
B. Downloads the declared provider
C. Provisions the declared resources
D. Initializes the backend config
- What can the
terraform plan
command do?
A. Provision declared resources
B. Perform initialization of the backend
C. Create an execution plan and determine which changes need to be made to achieve the desired state in the configuration file
D. Perform linting on the Terraform configuration file
- You have defined the following configuration code block:
resource "azurerm_resource_group" "example" {   name     = var.rgname   location = "eastus" }
In which possible ways can Terraform take the rgname
variable value...