Hello everyone,
I need help with azurerm_role_assignment
I have created storage account and I have to assign role to virtual machine.
In Azure console the steps are as follows
-
Go to Access Control(IAM) in storage account
-
Click on Add Role assignment
-
Select role
-
Assign access to Virtual machine
-
Choose subscription
-
Select VM
Can someone help with example how do I do this in terraform?
Also, I want to select multiple VM here so I need an example for the same.