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

Fix AWS S3 website endpoint validations #84

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

juhazi
Copy link

@juhazi juhazi commented Nov 6, 2019

As seen in Aws:: Route53::S3_WEBSITE_ENDPOINTS some endpoints have a dot instead of a hyphen before the region.
https://github.com/codenize-tools/roadworker/blob/7d0909cd348d2b18525e09e35326a973135495ca/lib/roadworker/route53-ext.rb#L13

This PR fixes the dns_name validation to allow those endpoints as valid alias targets by adding the stray dot to the regular expression.

Build does not seem to pass for any PR currently, but the change has been confirmed to work with our internal usage of roadworker

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