Posted by: Pdfprep
Post Date: February 11, 2021
True or False: Provisioners should only be used as a last resort.
A . true
B . false
Answer: A
Explanation:
Provisioners are used to execute scripts on a local or remote machine as part of resource creation or destruction. Provisioners can be used to bootstrap a resource, cleanup before destroy, run configuration management, etc. Even if the functionality you need is not available in a provider today, HashiCorp suggests that you consider local-exec usage as a temporary workaround and to open an issue in the relevant provider’s repo to discuss adding first-class support.
Leave a Reply