Skip to content

Commit 43877da

Browse files
author
Alexey Vekshin
committed
upd readme
1 parent df55c0f commit 43877da

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@ resource "godaddy-dns_record" "new-cname" {
3535
It currently supports `A`, `AAAA`, `CNAME`, `MX`, `NS` and `TXT` records. `SRV` are not supported; if anyone hosting AD on GoDaddy or uses them for VOIP or something like that, please let me know by creating an issue.
3636

3737
GoDaddy API does not have stable identities for DNS records, and in case of external modifications (e.g. via web console) behaviour is slightly different for "single-valued" vs "multi-valued" records
38-
- for "single-valued" record types (`A` and `CNAME`) there could be only 1 record of this type with a given name, so these are just replaced by update
39-
- for "multi-valued" record types (`MX`, `NS`, `TXT`) there could be several records with a given name (e.g. multiple MXes with different priorities and targets), so matching is done on value; if record's value is modified outside of Terraform, it is treated as a completely different record and is preserved (and original record is considered gone), so record is re-created on update.
38+
- for "single-valued" record types (`CNAME`) there could be only 1 record of this type with a given name, so these are just replaced by update
39+
- for "multi-valued" record types (`A`, `MX`, `NS`, `TXT`) there could be several records
40+
with a given name (e.g. multiple MXes with different priorities and targets), so matching is done on value
41+
- if record's value is modified outside of Terraform, it is treated as a completely different record and is preserved, while original record is considered gone and is re-created on `apply` (use `refresh` + `import` to re-link modified record back to original).
4042

4143
## Differences vs alternative providers
4244

4345
Differences vs n3integration provider and its forks:
44-
- granularity: top-level configuration object is record, not domain
46+
- configuration object is record, not (top-level) domain no need to bring it all under terraform management
47+
- could safely manage a subset of records (e.g. only one TXT or CNAME at domain top), keeping the rest intact
4548
- updates do not result in scary plans threatening to destroy all the records in the whole domain
46-
- external modifications are mostly fine: update will not complain if record is already set to the desired state, delete will be NOOP if record is already gone
47-
- `destroy` is fully supported
49+
- `destroy` is fully supported and removes only previously created records

0 commit comments

Comments
 (0)