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.