This message was deleted.
# general
s
This message was deleted.
c
Sure, you can run any CLI really as part of your pulumi script, but for your use case I wonder if there's a better way. What exactly do you want to do? Also, there's #CRVK66N5U 🙂
s
We are trying to assign global policy to resource group as we couldn't get Pulumi to work.
Here is one sample az policy assignment create --name tag-region --scope /subscriptions/<subscription>/resourceGroups/<resource group> --policy "<policy id>" --params "{'tagName':{'value': 'region'}}" --location northeurope --assign-identity
In Pulumi we can get the policy and create the assign to the policy but it's failing due to an error in parsing policy definition id. #CRVK66N5U