Skip to content

Fix AWS S3 website endpoint validations#84

Open
juhazi wants to merge 2 commits intocookpad:masterfrom
AppGyver:fix/aws_s3_website_endpoint_validations
Open

Fix AWS S3 website endpoint validations#84
juhazi wants to merge 2 commits intocookpad:masterfrom
AppGyver:fix/aws_s3_website_endpoint_validations

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