Join Slack
Powered by
Hi, I'm trying to use the getPolicyDefinition fun...
# general
l
lemon-tomato-90786
02/01/2021, 2:23 PM
Hi, I'm trying to use the
getPolicyDefinition
function
https://www.pulumi.com/docs/reference/pkg/azure-nextgen/authorization/getpolicydefinition/
, but I don't see what could possibly be the value of the
policyDefinitionName
argument For example for the built-in policy "Allowed location" (
https://github.com/Azure/azure-policy/blob/master/built-in-policies/policyDefinitions/General/AllowedLocations_Deny.json
) I tried to use the value of the field
displayName
or
name
but with no luck (Error : the policy definition 'Allowed locations' could not be found.) Previously I was using with no problem the function from the azure package
https://www.pulumi.com/docs/reference/pkg/azure/policy/getpolicydefintion/
Any idea what could be the value of the
policyDefinitionName
argument ?
Open in Slack
Previous
Next