TA-002-P · Question #59
TA-002-P Question #59: Real Exam Question with Answer & Explanation
The correct answer is A: True. Terraform provisioners are mechanisms for executing scripts or commands on a local or remote machine as part of a resource's lifecycle management. They can be attached to any resource block to perform actions immediately after resource creation or before its destruction.
Question
Terraform provisioners can be added to any resource block.
Options
- ATrue
- BFalse
Explanation
Terraform provisioners are mechanisms for executing scripts or commands on a local or remote machine as part of a resource's lifecycle management. They can be attached to any resource block to perform actions immediately after resource creation or before its destruction.
Concept tested. Terraform provisioner placement
Reference. https://developer.hashicorp.com/terraform/language/resources/provisioners/syntax
Topics
Community Discussion
No community discussion yet for this question.