Skip to content

Commit 876bda7

Browse files
authored
docs: add guidance on including ec2 instance tags within custom domain name (#104)
1 parent 4f0762b commit 876bda7

File tree

13 files changed

+69
-10
lines changed

13 files changed

+69
-10
lines changed

.github/workflows/docs.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
path: site
6363
config: htmltest.yml
6464

65-
- name: Patch mkdocs.yml
65+
- name: Patch mkdocs.yml Site URL
6666
if: startsWith(github.ref, 'refs/tags/v')
6767
uses: jacobtomlinson/gha-find-replace@v2
6868
with:
@@ -71,6 +71,15 @@ jobs:
7171
regex: false
7272
include: mkdocs.yml
7373

74+
- name: Patch mkdocs.yml Edit URI
75+
if: startsWith(github.ref, 'refs/tags/v')
76+
uses: jacobtomlinson/gha-find-replace@v2
77+
with:
78+
find: 'edit_uri: ""'
79+
replace: 'edit_uri: "edit/main/docs"'
80+
regex: false
81+
include: mkdocs.yml
82+
7483
- name: Deploy documentation
7584
if: startsWith(github.ref, 'refs/tags/v')
7685
env:

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import (
4444
)
4545

4646
const (
47-
longDesc = `Dynamic DNS within Amazon Route 53. Expose your EC2 quickly, easily and privately within a Route
47+
longDesc = `Dynamic DNS within Amazon Route 53. Expose your EC2 quickly, easily, and privately within a Route
4848
53 Private Hosted Zone (PHZ).
4949
5050
Your EC2 will be exposed through a dynamically generated resource record that will automatically

cmd/tag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636
func newTagsCommand(out io.Writer) *cobra.Command {
3737
cmd := &cobra.Command{
3838
Use: "tags",
39-
Short: "Lists all available EC2 instance tags and how they can be used with Go templating",
39+
Short: "Lists all available EC2 instance tags and how to use them with Go templating",
4040
Args: cobra.NoArgs,
4141
SilenceUsage: true,
4242
SilenceErrors: true,

docs/configure/broadcast-ec2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Broadcasting your EC2 privately within your VPC couldn't be easier"
23
icon: material/bullhorn-variant-outline
34
---
45

docs/configure/custom-domain.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Learn how to customise your EC2 domain name when privately broadcasting your instance"
23
icon: material/web
34
---
45

docs/configure/exposing-tags.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Expand your domain name customisation options by exposing your EC2 instance tags"
23
icon: material/tag-outline
34
status: new
45
---

docs/configure/iam.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Understand what Identity Access Management (IAM) permissions are needed for dns53 to run"
23
icon: material/shield-lock-outline
34
---
45

docs/configure/list-tags.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
description: "Generate a cheat sheet on how to include EC2 instance tags within your custom domain name"
3+
icon: material/tag-search-outline
4+
status: new
5+
---
6+
7+
# List Available EC2 Instance Tags
8+
9+
To generate a cheat sheet for including EC2 instance tags within a custom domain using Go templating, run the following command:
10+
11+
```sh
12+
dns tags
13+
```

docs/reference/cli/dns53-imds.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
description: "Learn how to use the DNS 53 command line to toggle IMDS features"
23
icon: material/console
34
---
45

docs/reference/cli/dns53-tags.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
description: "Learn how to use the DNS 53 command line to list available EC2 instance tags"
3+
icon: material/console
4+
---
5+
6+
# Command Line
7+
8+
Lists all available EC2 instance tags and how to use them with Go templating
9+
10+
## Usage
11+
12+
```text
13+
dns53 tags [flags]
14+
```
15+
16+
## Flags
17+
18+
```text
19+
-h, --help help for tags
20+
```
21+
22+
## Global Flags
23+
24+
```text
25+
--profile string the AWS named profile to use when loading credentials
26+
--region string the AWS region to use when querying AWS
27+
```

0 commit comments

Comments
 (0)