Skip to content

Commit

Permalink
Fix code block for dns_record_set (#3090)
Browse files Browse the repository at this point in the history
This reverts the following PR #2495 

Fixes the following broken code block

<img width="907" alt="screenshot 2019-02-20 17 22 47" src="https://user-images.githubusercontent.com/237513/53106898-44c76300-3534-11e9-8429-c6e114d67c5b.png">

Is this the correct place to fix it? or is this file generated magically?
  • Loading branch information
drubin authored and rileykarson committed Mar 7, 2019
1 parent c4ad451 commit 10d1e8b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion website/docs/r/dns_record_set.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,10 @@ resource "google_dns_managed_zone" "prod" {
```

### Adding a CNAME record

The list of `rrdatas` should only contain a single string corresponding to the Canonical Name intended.
```hcl

```hcl
resource "google_dns_record_set" "cname" {
name = "frontend.${google_dns_managed_zone.prod.dns_name}"
managed_zone = "${google_dns_managed_zone.prod.name}"
Expand Down

0 comments on commit 10d1e8b

Please sign in to comment.