You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.
Describe the bug
When utilizing importOnDuplicate to import items that already exist.. if the import is successful and something else in the stack fails and the stack rolls back it will try to delete the imported resource. This will inevitably lead to a lot of other errors.
To Reproduce
Steps to reproduce the behavior:
Create an OU manually
Add it to the stack with import on duplicate
Create another OU manually
Add it to the stack after the first OU and dont allow imports on duplicate
Deploy the stack. The first OU will import, the second will fail as expected, and the first one will be deleted.
Expected behavior
If importOnDuplicate is used and the stack is rolling back then delete should retain the item. Perhaps the python code could check the stack state before a delete.
Screenshots
Logs
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
When utilizing
importOnDuplicate
to import items that already exist.. if the import is successful and something else in the stack fails and the stack rolls back it will try to delete the imported resource. This will inevitably lead to a lot of other errors.To Reproduce
Steps to reproduce the behavior:
Expected behavior
If
importOnDuplicate
is used and the stack is rolling back then delete should retain the item. Perhaps the python code could check the stack state before a delete.Screenshots
Logs
Additional context
The text was updated successfully, but these errors were encountered: