Skip to content

Conversation

@filmaj
Copy link
Member

@filmaj filmaj commented Dec 15, 2025

If you build on top of arc deploy, you may get inconsistent results when updating a stack and removing resources. This is because AWS CloudFormation treats removal of resources as a separate CloudFormation Stack state, and executes removal of resources in a 'final' pass after any new or updated resources have been updated. Currently, arc deploy assumes that if a CFN Stack is in an update-complete-cleanup-in-progress state, that the Stack update is complete.

This change moves the update-complete-cleanup-in-progress state from the internal arc 'complete' states array and into the internal arc 'in progress' states array, addressing the issue.

A similar change should be considered for arc destroy.

@filmaj filmaj self-assigned this Dec 15, 2025
Copy link
Contributor

@ryanbethel ryanbethel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is correct. Maybe should still have Ryan or Brian review it, but I think this is good to go and I don't think it will cause any problems.

@ryanblock
Copy link
Member

lgtm!

@filmaj filmaj merged commit d75ce93 into main Dec 15, 2025
15 checks passed
@filmaj filmaj deleted the honour-cleanup branch December 15, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants