How would you reference the volume IDs associated with the ebs_block_device blocks in this configuration?
How do you specify a module’s version when publishing it to the public terraform Module Registry?
What is the Terraform style convention for indenting a nesting level compared to the one above it?
You want to know from which paths Terraform is loading providers referenced in your Terraform configuration (* files). You need to enable additional logging messages to find this out. Which of the following would achieve this?
You are using a networking module in your Terraform configuration with the name label my-network. In your main configuration you have the following code:
When you run terraform validate, you get the following error:
What must you do to successfully retrieve this value from your networking module?
How does the Terraform cloud integration differ from other state backends such as S3, Consul,etc?
Which of the following command would be use to access all of the attributes and details of a resource managed by Terraform?
How can you trigger a run in a Terraform Cloud workspace that is connected to a Version Control System (VCS) repository?
You want to define a single input variable to capture configuration values for a server. The values must represent memory as a number, and the server name as a string.
Which variable type could you use for this input?
You decide to move a Terraform state file to Amazon S3 from another location. You write the code below into a file called backend.tf.
Which command will migrate your current state file to the new S3 remote backend?
Which command should you run to check if all code in a Terraform configuration that references multiple modules is properly formatted without making changes?
If you update the version constraint in your Terraform configuration, Terraform will update your lock file the next time you run terraform Init.
It is best practice to store secret data in the same version control repository as your Terraform configuration.
You can reference a resource created with for_each using a Splat ( *) expression.
When using multiple configuration of the same Terraform provider, what meta-argument must you include in any non-default provider configurations?
You have deployed a new webapp with a public IP address on a cloud provider. However, you did not create any outputs for your code. What is the best method to quickly find the IP address of the resource you deployed?