Closed patrobinson closed 7 years ago
Interesting. I typically pull before doing a push, and review all changes carefully before committing to the push. Perhaps we could make the changeset more obvious when resources are being removed, maybe colour it red or something? Or have a summary line in the prompt? OK to delete 4 resoureces, add 5 resources Y/n
type of thing
maybe colour it red or something? Or have a summary line in the prompt? OK to delete 4 resoureces, add 5 resources Y/n type of thing
I like all these ideas
If iamy was willing to be git-aware, it could tell when it's about to delete resources that it never managed. I'd lean towards something simpler like coloured warnings on deletions etc, though.
-1 on git aware, +1 on summary
On Tue, 21 Mar 2017 at 5:27 pm, Paul Annesley notifications@github.com wrote:
If iamy was willing to be git-aware, it could tell when it's about to delete resources that it never managed. I'd lean towards something simpler like coloured warnings on deletions etc, though.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/99designs/iamy/issues/24#issuecomment-287988486, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA9joKzONHYDUG-XUMkF4X3ERk6WYcSks5rn23ggaJpZM4MjN_d .
Sometimes we accidentally delete policies/roles when doing a
push
. It would be nice if IAMy could, optionally, take a backup of them before deleting them and drop them in a seperate directory (outside the normal account directory structure) in case this was not what was intended.