Difference between revisions of "Terraform example questions"

From wikieduonline
Jump to navigation Jump to search
 
Line 43: Line 43:
  
 
* [[True or False? Rather than use a state file, Terraform can inspect cloud resources on every run to validate that the real-world resources match the desired state.]]
 
* [[True or False? Rather than use a state file, Terraform can inspect cloud resources on every run to validate that the real-world resources match the desired state.]]
 +
 +
* [[When writing Terraform code, how many spaces between each nesting level does HashiCorp recommends that you use?]]
  
 
== See also ==
 
== See also ==
 
* {{tf cert}}
 
* {{tf cert}}

Latest revision as of 20:14, 5 April 2023

  • Which of the features below is available in the free version of Terraform Cloud? (select three)
  • What feature does Terraform use to map configuration to resources in the real world?
  • True or False? Under special circumstances, Terraform can be used without state.
Solution: https://developer.hashicorp.com/terraform/language/state/purpose
  • Can terraform manage dependencies across different clouds provider?


  • [[You have infrastructure deployed with Terraform. A developer recently submitted a support ticket to update a security group to permit a new port. To satisfy the ticket, you update the Terraform configuration to reflect the changes and run a terraform plan. However, a co-worker has since logged into the console and manually updated the security group.]]

What will happen when you run a terraform apply?

See also[edit]

Advertising: