clever-glass-42863
09/27/2024, 8:09 PMRolePolicyAttachment
(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.enough-garden-22763
09/27/2024, 9:22 PMenough-garden-22763
09/27/2024, 9:24 PM