Skip to content

Commit

Permalink
INBOX-2366 - Add more record types
Browse files Browse the repository at this point in the history
  • Loading branch information
pburrows-ns1 authored Sep 19, 2023
2 parents 4d52e1d + 6fb1c4c commit bf1dc81
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.7 (September 19, 2023)
ENHANCEMENTS
* Added support for more record types (CERT, CSYNC, DHCID, HTTPS, SMIMEA, SVCB & TLSA)

## 2.0.6 (September 18, 2023)
ENHANCEMENTS
* Added support for global IP whitelist
Expand Down
2 changes: 1 addition & 1 deletion ns1/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
)

var (
clientVersion = "2.0.6"
clientVersion = "2.0.7"
providerUserAgent = "tf-ns1" + "/" + clientVersion
defaultRetryMax = 3
)
Expand Down
10 changes: 8 additions & 2 deletions ns1/resource_record.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,29 @@ import (
var recordTypeStringEnum = NewStringEnum([]string{
"A",
"AAAA",
"ALIAS",
"AFSDB",
"ALIAS",
"CAA",
"CERT",
"CNAME",
"CSYNC",
"DHCID",
"DNAME",
"DS",
"HINFO",
"HTTPS",
"MX",
"NAPTR",
"NS",
"PTR",
"RP",
"SMIMEA",
"SPF",
"SRV",
"SVCB",
"TLSA",
"TXT",
"URLFWD",
"strings",
})

func recordResource() *schema.Resource {
Expand Down

0 comments on commit bf1dc81

Please sign in to comment.