How to add Virtual Machine User Login roles to a list of users by Terraform?
问题 a@cc.com & b@cc.com are E-mail addresses of our organization. These emails are also used as the Azure login accounts. I've set up a Terraform code to use the AzureAD to access to the VM in Azrue. My question is How Can I grand those accounts the role of Virtual Machine User Login ? resource "azurerm_role_assignment" "test" { scope = "${data.azurerm_management_group.primary.id}" role_definition_id = "Virtual Machine User Login" principal_id = "a@cc.com, b@cc.com" } The official documents says