Problem Statement
What are Terraform provisioners used for?
Explanation
Provisioners in Terraform allow executing scripts or actions on resources after they are created or destroyed.
For example, you can use the remote-exec or local-exec provisioner to install software or configure settings post-deployment. However, best practice discourages heavy use of provisioners because they introduce procedural logic into declarative IaC workflows.
