Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: validate region input string #44

Merged
merged 1 commit into from
Mar 6, 2020

Conversation

clareliguori
Copy link
Member

Related to #43

Use a fairly permissive regex to check if the given region could feasibly be a valid region string. Whether it is actually a valid region will be checked when https://sts.$region.amazonaws.com is called to get the account ID.

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

@clareliguori clareliguori requested a review from a team March 6, 2020 21:57
@clareliguori clareliguori merged commit 3d568d2 into aws-actions:master Mar 6, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants