pulumi-ai
pulumi-ai copied to clipboard
[AI Answers]
Affected page: https://www.pulumi.com/ai/answers/18zWAZmq13JeVS2G57Pi1h/deploying-aws-iam-role-policy-attachments
I followed this example and it was not attaching the policy to the role. It wasn't until I changed the code to use exampleRole.id
instead of exampleRole.name
that it successfully attached the role.