Terraform – Azure – azurerm_virtual_machine_extension – inline Powershell script
I am preparing VM deployment, and on VMs, I need to run some Powershell command lets. I need to change the Postgresql property.
I am working on Azure cloud, Terraform deployment has been tested, and works as expected, VM is deployed with all required configurations, but facing some problems with PowerShell commands. I use terraform resource azurerm_virtual_machine_extension, it works when I am trying to install/use one block of code, for example