Exam Terraform Associate All QuestionsBrowse all questions from this exam
Question 242

Which provisioner invokes a process on the machine running Terraform?

    Correct Answer: C

    The 'local-exec' provisioner is used to execute a command or script on the machine running Terraform. This is opposed to the 'remote-exec' provisioner, which runs commands on the resource being provisioned. Therefore, the correct answer is 'local-exec'.

Discussion
tabkarOption: C

https://developer.hashicorp.com/terraform/language/resources/provisioners/local-exec

trextorOption: C

C. local-exec The local-exec provisioner is used to execute a command or script locally on the machine running Terraform. It's often used for tasks such as running scripts after resource creation or performing local setup/configuration tasks.

enry99itaOption: A

local-exec provisioner is execute on the local machine.

enry99ita

vote C

Oleg_golOption: C

C. local-exec