https://pulumi.com logo
g

glamorous-waitress-51149

08/07/2019, 12:01 PM
Anyone know why a AWS policy fails to be deployed when only the description changes?
Did pulumi up and it created the policy, did another pulumi up and I get:
Copy code
2019-08-07T10:56:47.8870029Z  ++ aws:iam:Policy profiles-ping-policy creating replacement [diff: ~description]; error: Plan apply failed: Error creating IAM policy profiles-ping-policy: EntityAlreadyExists: A policy called profiles-ping-policy already exists. Duplicate names are not allowed.
2019-08-07T10:56:47.8871952Z  ++ aws:iam:Policy profiles-ping-policy **creating failed** [diff: ~description]; error: Plan apply failed: Error creating IAM policy profiles-ping-policy: EntityAlreadyExists: A policy called profiles-ping-policy already exists. Duplicate names are not allowed.
20
b

broad-dog-22463

08/07/2019, 1:53 PM
Got a reproduction?
g

glamorous-waitress-51149

08/07/2019, 1:54 PM
changed the approach to make it work 🙂
b

broad-dog-22463

08/07/2019, 1:59 PM
👍