Open omus opened 2 years ago
The error is coming from https://github.com/aws/aws-sdk-go-v2/blob/b7ee4d682d420063191dfa74be8daca379d092fe/config/shared_config.go#L1089 and the panic is from the below.
The helper shouldn't panic. But we need to fix AWS Go SDK to close the gap vs. AWS CLI.
I've noticed the following error when using
amazon-ecr-credential-helper
:After some investigating I discovered that the cause of the issue is having my
~/.aws/config
file including a null assignment as the last line of my config:The AWS CLI does not have any issues processing my configuration file.
The issue can be worked around by adding a trailing newline to the configuration file or by having the last configuration value be a line which isn't a null assignment.