Automate scripts, pass variables, handle errors and security, plus real examples for any cloud setup. For azure you will need to use the documentation for azurerm_network_interface to get the private_ip_address. We also demonstrated the power of null_resource for running provisioners that aren’t tied to a specific infrastructure resource. This invokes a process on the machine running terraform, not on the resource. A given resource in a terraform configuration may contain multiple provisioners, and they are executed in the order in which they appear in the resource.
WATCH