09/01/2021, 9:14 PM
When trying to apply a change to my stack, I'm running into this issue:
* error creating Route Table (rtb-041aa78738eeae220) Association: Resource.AlreadyAssociated: the specified association for route table rtb-041aa78738eeae220 conflicts with an existing association
What is the best way to proceed? Seems it's not properly cleaning up the previous resources before applying the new ones


09/01/2021, 9:26 PM
There's a few possibilities, depending on things like whether or not it's a default (that Pulumi doesn't know about or manage), or just a sequencing issue.
The easiest thing to try is to add
deleteBeforeReplace: true
to the association.
If that doesn't work, you may need to manually remove the bad resource, or import it to Pulumi.