From 5ff9695c09086cb3497906f90fe65af0ef85b128 Mon Sep 17 00:00:00 2001 From: saltiyazan Date: Fri, 20 Jan 2023 19:32:33 +0400 Subject: [PATCH] route53: add CLI example (#1814) --- docs/content/dns/zz_gen_route53.md | 12 +++++++++--- providers/dns/route53/route53.toml | 8 +++++++- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/docs/content/dns/zz_gen_route53.md b/docs/content/dns/zz_gen_route53.md index d29640c4..faddd659 100644 --- a/docs/content/dns/zz_gen_route53.md +++ b/docs/content/dns/zz_gen_route53.md @@ -23,9 +23,15 @@ Configuration for [Amazon Route 53](https://aws.amazon.com/route53/). - Since: v0.3.0 -{{% notice note %}} -_Please contribute by adding a CLI example._ -{{% /notice %}} +Here is an example bash command using the Amazon Route 53 provider: + +```bash +AWS_ACCESS_KEY_ID=your_key_id \ +AWS_SECRET_ACCESS_KEY=your_secret_access_key \ +AWS_REGION=aws-region \ +AWS_HOSTED_ZONE_ID=your_hosted_zone_id \ + --domains example.com --email your_example@email.com --dns route53 --accept-tos=true run +``` diff --git a/providers/dns/route53/route53.toml b/providers/dns/route53/route53.toml index 41278d0a..3b5f2a59 100644 --- a/providers/dns/route53/route53.toml +++ b/providers/dns/route53/route53.toml @@ -4,7 +4,13 @@ URL = "https://aws.amazon.com/route53/" Code = "route53" Since = "v0.3.0" -Example = '''''' +Example = ''' +AWS_ACCESS_KEY_ID=your_key_id \ +AWS_SECRET_ACCESS_KEY=your_secret_access_key \ +AWS_REGION=aws-region \ +AWS_HOSTED_ZONE_ID=your_hosted_zone_id \ + --domains example.com --email your_example@email.com --dns route53 --accept-tos=true run +''' Additional = ''' ## Description