Which provisioner invokes a process on the machine running Terraform?
Which provisioner invokes a process on the machine running Terraform?
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'.
https://developer.hashicorp.com/terraform/language/resources/provisioners/local-exec
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.
local-exec provisioner is execute on the local machine.
vote C
C. local-exec