Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relax profile name validation #861

Merged
merged 4 commits into from
Nov 16, 2021
Merged

Conversation

jdisanti
Copy link
Collaborator

@jdisanti jdisanti commented Nov 12, 2021

Motivation and Context

This addresses awslabs/aws-sdk-rust#270.

Testing

  • Added additional test cases

Checklist

  • I have updated CHANGELOG.md
  • I have updated aws/SDK_CHANGELOG.md if applicable

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

@jdisanti jdisanti requested a review from a team as a code owner November 12, 2021 23:57
@github-actions
Copy link

A new generated diff is ready to view: __generated-main...__generated-jdisanti-fix-profile-name-validation

2 similar comments
@github-actions
Copy link

A new generated diff is ready to view: __generated-main...__generated-jdisanti-fix-profile-name-validation

@github-actions
Copy link

A new generated diff is ready to view: __generated-main...__generated-jdisanti-fix-profile-name-validation

Copy link
Collaborator

@rcoh rcoh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Do you mind adding a test to the default_provider suite (https://github.com/awslabs/smithy-rs/tree/main/aws/rust-runtime/aws-config/test-data/default-provider-chain) that validates this behavior? I just want to be sure that we support this character-set end-to-end (and it's validated). Should be quick since it doesn't need to hit the network

@jdisanti jdisanti force-pushed the jdisanti-fix-profile-name-validation branch from 05db31e to a0929eb Compare November 16, 2021 19:03
@github-actions
Copy link

A new generated diff is ready to view: __generated-main...__generated-jdisanti-fix-profile-name-validation

@@ -0,0 +1,9 @@
[default]
region = us-east-1
aws_access_key_id = incorrect_key
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍🏻 good idea to have a default profile as part of the test

@jdisanti jdisanti merged commit 9efbb66 into main Nov 16, 2021
@jdisanti jdisanti deleted the jdisanti-fix-profile-name-validation branch November 16, 2021 19:23
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.

None yet

2 participants