Skip to content

Commit

Permalink
Merge pull request #3377 from RichardBronosky/patch-1
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue

small docs improvement

Make cmd1 populate the var for cmd2

Using `tee /dev/stderr` allows the user to still get output if they copy-pasta the first command. The other changes prepare the HZC variable so it can be used if they copy-pasta the second command.
  • Loading branch information
Kubernetes Submit Queue committed Sep 15, 2017
2 parents 893217f + 7d6b61a commit a582fbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/ns.md
Expand Up @@ -3,12 +3,12 @@
- Note your hosted zone ID

```bash
aws route53 list-hosted-zones | jq '.HostedZones[] | select(.Name=="subdomain.example.com.") | .Id'
HZC=$(aws route53 list-hosted-zones | jq -r '.HostedZones[] | select(.Name=="subdomain.example.com.") | .Id' | tee /dev/stderr)

```

- Note your nameservers for the subdomain

```bash
aws route53 get-hosted-zone --id $HZC | jq .DelegationSet.NameServers
```
```

0 comments on commit a582fbf

Please sign in to comment.