Commit 8bcb005
authored
Filter out Organizational accounts not in the ACTIVE state (#981)
When selecting Organization accounts to be included in the SEA Uninstall
process, those in the SUSPENDED or PENDING_CLOSURE state are included.
This leads to a failure whereby the SEA IAM role cannot be assumed for
these accounts. This change filters all accounts not in the ACTIVE
state.1 parent 67740ae commit 8bcb005
File tree
1 file changed
+2
-1
lines changed- reference-artifacts/Custom-Scripts/SEA-uninstall
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
0 commit comments