Provisioners
Terraform supports the concept of provisioners, which can be used to perform some actions on a local machine executing Terraform or a remote machine provisioned using Terraform that works in sync with other real-world objects.
Local and remote provisioners should be considered as the last option to use in Terraform because it has no control over the actions performed by provisioners and it can depend on multiple things in the local/remote machine. If there are alternatives available from providers to avoid the use of provisioners, they should be considered first as per the Terraform documentation.
Think of a scenario where a team of developers is working on the same set of configuration scripts with local provisioners and there are dependencies on the scripts for a few resources. The local provisioner will mostly work with the software installed on the local machine, and it can have different versions on different machines. Hence, the behavior of the local provisioner...