Greetings! Helpful tip, and bug notice in how the ...
# general
c
Greetings! Helpful tip, and bug notice in how the C# AWS Classic (6.52.0 NuGet) handles renaming of a resource for a
RolePolicyAttachment
(which led to bugs). If you have an existing
RolePolicyAttachment
, for example AmazonECSTaskExecutionRolePolicy, then you deploy with an updated name, it seems to create the new RolePolicyAttachment, however it also detaches the policy referenced because the old one is deleted. Thus the state of Pulumi shows that the attached policy is fine and exists. Subsequent deploys do not fix this. Only a Refresh will detect the deletion and then subsequent deploys work as expected.
e
Could you help us Pulumi maintainers out by filing an issue with repro in pulumi/pulumi-aws? Appreciated. Sounds quite interesting.