I ran into an issue because my organization has two accounts with the same name.
The preferred name should probably be the account alias, not the name.
The account_id could also be appended to avoid collisions.
|
[profile sp_${ACCOUNT_NAME}] |
< [profile sp_${ACCOUNT_NAME}]
[profile sp_${ACCOUNT_NAME}_${ACCOUNT_ID}]
I ran into an issue because my organization has two accounts with the same name.
The preferred name should probably be the account alias, not the name.
The account_id could also be appended to avoid collisions.
steampipe-samples/all/aws-organizations-scripts/generate_config_for_cross_account_roles.sh
Line 117 in b22ba2d
< [profile sp_${ACCOUNT_NAME}]