-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Support for AWS Route 53? #65
Comments
yes, I'd like to keep it bash only. no more dependencies, like python, perl etc. If you can fix that, I'd be happy to merge your code. |
OK, thanks for the quick response. I'll see what I can do. |
If anyone is interested, I wrote an API for AWS Route53. It still depends on AWSCLI and Python, but doesn't need a JSON library for parsing the results. |
Thanks @theit8514 , Can you make it a separate repository ? So that I can update the doc to refer to your code. Thanks. |
Moved code to repository and added some docs on what is required. https://github.com/theit8514/dnsapi-route53-python |
I've wrote a different AWS Route53 dns api. I've forked Neilpang/le and added my api inside (I don't want to maintain a repo for a single file); you can find it at https://github.com/colegatron/le |
What's the status of the pure bash implementation for Route53? |
Hi @oscar-b , |
The dns-aws script is ready for production. At least I have it running in the production deployment pipeline issuing Iván González
|
But it still have external dependencies on other scripts and Python? |
My own script is not part of Neil development and it is not tied to his I try to keep things simple, easy and functional, but write Feel free to use it as is or modify it as per your needs.
|
The requirement is due to the fact that this is for an embedded system, and disk space is a bit limited. I will see if it's feasible to install the aws cli. Thanks! |
The dns-aws api depends on jq aside aws cli, but there are only a couple of Maybe even the 3 call to the aws can be replaced with some curl call. 2016-03-25 20:04 GMT+01:00 Oscar Bolmsten notifications@github.com:
|
@Neilpang any movement for this request ? revisiting this request for Route53 as it's what i use for my main domains
with regards to bash only and @colegatron |
@Neilpang @colegatron any plans to revisit Route53 support ? awscli is easy to install
jq for centos/rhel
and as per previous reply
|
+1 on native Route53 support!! |
Reopen, I will move the implementation to acme.sh, I think it's ok to use jq and aws-cli in this wrapper. But I have not aws to test, if you guys have, please let me know. Thanks. |
Let me know of a way to privately contact you and what domain you want on route53 and I'll send you API keys Monday morning |
@FernandoMiguel |
Using the aws-cli isn't feasible on smaller systems such as routers, it's huge (almost 100mb installed if I remember correctly). Should be possible to to without external dependencies. |
@oscar-b I'm guessing most of our use cases it to have it running from aws instances itself, where those packages are usually available |
I agree with @FernandoMiguel , most cases would be in the aws instances, so it's not a big problem. yes, I will also try to write a |
@FernandoMiguel Please write to me the api key. My mail server has a temp issue that I can only receive email, can not send email now. |
@Neilpang that email had the key attached. |
yes, I see. |
I need to call But I got error:
|
humm let me move it out |
try now! |
Same error. |
ok, let me debug it on my side. |
should work now. |
@FernandoMiguel |
@FernandoMiguel was it case of ListHostedZone needing to be unrestricted to specific ZONE ? https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/r53-api-permissions-ref.html Required Permissions for Actions on Public Hosted Zones
|
Hi @centminmod @mbentley @theit8514 @FernandoMiguel @oscar-b @colegatron Everybody, I just supported AWS Route53 api, pure shell, no dependency to awscli. see: https://github.com/Neilpang/acme.sh/tree/dev/dnsapi#10-use-amazon-route53-domain-api And @FernandoMiguel Can you please edit this page: https://github.com/Neilpang/acme.sh/wiki/How-to-use-Amazon-Route53-API , and write how to get the api key secret/id and how to configure the api permissions ? Thank you. |
Great work mate. I was wondering how progress on this was going. |
i'm having issues with this from my mac. ./acme.sh --issue --dns dns_aws -d test.awsroute53.acme.sh --test --debug 2 HTTP/1.1 201 Created host:route53.amazonaws.com host;x-amz-date |
@FernandoMiguel Any way, I will fix it to give a nice error message in this case. Thanks. |
@Neilpang cheers |
@FernandoMiguel |
I wanted to check to see what your thoughts are in regards to the dnsapi plugins. I wrote a AWS Route 53 API plugin but it uses the python
awscli
tool andjq
to parse JSON and I wasn't sure if you had strict requirements for using only bash or if 3rd party libraries could be a requirement. This probably needs some additional error checking but it's worked decently for me so far: https://gist.github.com/mbentley/d5da0bf962f050dd07ecThe text was updated successfully, but these errors were encountered: