I am introducing an endless loop by mistake because I'm cross referencing profiles andy and prod.
Expected
An error when parsing this profile's config, like the AWS cli has:
Infinite loop in credential configuration detected. Attempting to load from profile andy which has already been visited. Visited profiles: ['andy', 'prod', `dev`]
Actual
Command halts forever
➜ aws-vault exec andy -- aws sts get-caller-identity
^C
.aws/config
(redacted if necessary)aws-vault --debug
(redacted if necessary)Summary
My
aws/config
is something like:I am introducing an endless loop by mistake because I'm cross referencing profiles
andy
andprod
.Expected
An error when parsing this profile's config, like the AWS cli has:
Actual
Command halts forever