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 documentation for route53 acme provider #3811

Merged
merged 2 commits into from
Aug 24, 2018
Merged

Fix documentation for route53 acme provider #3811

merged 2 commits into from
Aug 24, 2018

Conversation

A-Shleifman
Copy link
Contributor

"If AWS_HOSTED_ZONE_ID is not set, Lego tries to determine the correct public hosted zone via the FQDN." - https://github.com/xenolf/lego/blob/master/providers/dns/route53/route53.go.

The field is optional and it needs to be highlighted, otherwise, people might assume that traefik/lego can only support one Hosted Zone.

I believe AWS_REGION should be optional as well. Even though it's used everywhere in lego examples, as far as I'm aware all domains in route53 are global and don't belong to a particular region. I've tested DNS challenge a few times without specifying AWS_REGION and everything works as expected.

@mmatur mmatur changed the title "AWS_REGION" and "AWS_HOSTED_ZONE_ID" should be optional Fix documentation for route53 acme provider Aug 23, 2018
@A-Shleifman A-Shleifman requested review from a team as code owners August 23, 2018 14:25
@mmatur mmatur changed the base branch from master to v1.7 August 23, 2018 14:25
@mmatur mmatur removed request for a team August 23, 2018 14:25
@mmatur mmatur added this to the 1.7 milestone Aug 23, 2018
A-Shleifman and others added 2 commits August 23, 2018 16:29
"If AWS_HOSTED_ZONE_ID is not set, Lego tries to determine the correct public hosted zone via the FQDN." - https://github.com/xenolf/lego/blob/master/providers/dns/route53/route53.go. The field is optional and it needs to be highlighted, otherwise, people might assume that traefik/lego can only support one Hosted Zone. I believe AWS_REGION should be optional as well. Even though it's used everywhere in lego examples, as far as I'm aware all domains in route53 are global and don't belong to a particular region. I've tested DNS challenge a few times without specifying AWS_REGION and everything works as expected.
Copy link
Member

@mmatur mmatur left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@dtomcej dtomcej left a comment

Choose a reason for hiding this comment

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

LGTM
:shipit:

Copy link
Collaborator

@SantoDE SantoDE left a comment

Choose a reason for hiding this comment

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

LGTM 👼

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

Successfully merging this pull request may close these issues.

7 participants