I did not see it in the documentation on how to configure credentials to use AWS_ROLE_ARN, when:
- running locally USE current AWS_PROFILE as the credential source
- WHEN CICD USE metadata endpoint.
I tried adding `RoleArn` in the credential file as well as the environment variable AWS_ASSUME_ROLE but both failed to automatically assume the role in target account and try to execute on the current profile.
Ideally, would be nice to see RoleArn natively supported in creds.json and not have create custom aws config profiles toggling source_profile (local) and credential_source (CICD).
I am wondering if this is a bug or would it need to be submitted as feature?