Skip to content

Conversation

@Gopesh111
Copy link

Issue #, if available:
N/A

Description of changes:
This change prevents empty or whitespace-only configuration values from being
written to AWS CLI config files.

Previously, passing an empty value could result in invalid or confusing
configuration entries (e.g., region =), which may cause unexpected behavior
later. This update skips writing such values while preserving existing behavior
for valid inputs.

A unit test is included to cover this edge case.

By submitting this pull request, I confirm that you can use, modify, copy, and
redistribute this contribution, under the terms of your choice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant