You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Construct the policy documentconstpolicyDoc=pulumi.output(vault.getPolicyDocument({rules: permissions.permissions,},opts,),);// Create the policy in Vaultconstpolicy=newvault.Policy(`${name}-policy`,{name: pulumi.interpolate`${permissions.roleName}-policy`,policy: policyDoc.apply(({ hcl })=>hcl),},opts,);
When creating a
Policy
thepolicy
property should support an object instead of just a string.The text was updated successfully, but these errors were encountered: