From 1d860ebf975d27c6353f8690d4f0612cd483f0ee Mon Sep 17 00:00:00 2001 From: Timo Hirt Date: Sun, 30 Aug 2020 22:02:33 +0200 Subject: [PATCH] Document how to use quotes in TXT records closes #7 --- docs/resources/hetznerdns_record.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/resources/hetznerdns_record.md b/docs/resources/hetznerdns_record.md index 167f2d7..d108633 100644 --- a/docs/resources/hetznerdns_record.md +++ b/docs/resources/hetznerdns_record.md @@ -27,7 +27,10 @@ The following arguments are supported: - `name` - (Required, string) Name of the DNS record to create. -- `value` - (Required, string) The value of the record (eg. 192.168.1.1). +- `value` - (Required, string) The value of the record (eg. 192.168.1.1). + For TXT records with quoted values, the quotes has to be ecaped in Terraform + (eg. "v=spf1 include:_spf.google.com ~all" is represented by + "\\"v=spf1 include:_spf.google.com ~all\\"" in Terraform). - `type` - (Required, string) The type of the record.