validate configuration file for quoted strings
Is your feature request related to a problem? Please describe.
Originally reported at https://github.com/aws/aws-cli/issues/5332.
User reported trouble with using the configuration option cli_pager. They were trying to turn it off and set it to:
cli_pager = ""
This failed with a cryptic error:
[Errno 13] Permission denied: ''
If quotes are added to other fields, they can also fail with different errors. For example, quoting the region leads to the following error:
Invalid endpoint: https://ec2."us-west-2".amazonaws.com
While the error is easier to see, it's not immediately clear that it's from a improperly formatted configuration file.
Describe the solution you'd like
Validation of the configuration file such that values do not start with quotes. If quotes are an allowed value, then possibly a warning about it.
Greetings! It looks like this issue hasn’t been active in longer than one year. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.