My PolicyAttachment that references the ARN is empty. no policyArn = Output<string>. just shows it as being removed from the PolicyAttachment.
l
little-cartoon-10569
03/07/2022, 9:14 PM
Are you creating it inside an apply?
little-cartoon-10569
03/07/2022, 9:15 PM
If you're previewing, and the resource is inside an apply that depends on a cloud resource, then the resource won't be known about because the code inside the apply isn't being run during a preview.
little-cartoon-10569
03/07/2022, 9:15 PM
If this is the case, then you need to rework your code to not create resources inside the apply.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.