BUGFIX
ns1-go
client version bump to allow wiping out record regions
BUGFIX
- Adds support for setting override_address_records for ALIAS records
- Modified target regex for redirects to align with server
- Modified domain regex for redirects to allow internationalised domains
- Fixed validation regex for redirects
- Remove ns1_subnet provider, used for dhcp/ipam resources
BUGFIX
- Fix issue with updating regions in record resource
ENHANCEMENTS
- Adds support for redirect endpoints BUGFIX
- Lifting ordering constraint on regions in record resource
BUGFIX
- Lifting ordering constraint on ns1_notifylist notifications objects
- Documentation fix for
tags
BUGFIX
ns1-go
client version bump to fix omitting tags
ENHANCEMENTS
- Adds support for listing available monitoring regions
ENHANCEMENTS
- Adds support for Datasets
BUGFIX
ns1-go
client version bump to fix omitting tags
ENHANCEMENTS
- Added support for zone and record tags BUG FIX
- Updated test host names
BUG FIX
ns1-go
client version bump fixes removing filter chains from records
ENHANCEMENTS
- Added support for more record types (CERT, CSYNC, DHCID, HTTPS, SMIMEA, SVCB & TLSA)
ENHANCEMENTS
- Added support for global IP whitelist
- Version Bump Golang SDK v2.7.7 => v2.7.8 to fix monitor creation
- Version Bump to PENG-2344: Zone resource no longer returns record information
- Fixed bug in NotifyList headers
Version Bump to fix tagging issue
BUG FIX
ns1-go
client version bump fixesadditional_metadata
not applying correctly
Note:
- To avoid whitespace issues in
additional_metadata
meta tag usingjsonencode
for example:
meta = {
"additional_metadata" : jsonencode(
[
{
a = "1"
b = "3"
}
])
}
ENHANCEMENTS
- Upgraded to Terraform SDK 2.24.1. Users of Pulsar will need to make minor changes in their resource files, see below.
INCOMPATIBILITIES WITH PREVIOUS VERSIONS
- The
ns1_application
resource attributesconfig
,default_config
andblended_metric_weights
are now blocks, with only one item permitted. This is due to an SDK 2.x restriction on nested structures. Existing resource files will need to be edited to remove the equals sign in the declarations of the affected stanzas, for example:
resource "ns1_application" "it" {
name = "my_application"
browser_wait_millis = 123
jobs_per_transaction = 100
default_config {
http = true
https = false
request_timeout_millis = 100
job_timeout_millis = 100
static_values = true
}
}
instead of the previous syntax:
default_config = {
- Added
networks
resource it provides details about NS1 Networks. Use this if you would simply like to read information from NS1 into your configurations, for example:
# Get details about NS1 Networks.
data "ns1_networks" "example" {
}
ENHANCEMENTS
- Upgraded to Terraform SDK 2.24.1. Users of Pulsar will need to make minor changes in their resource files, see below.
INCOMPATIBILITIES WITH PREVIOUS VERSIONS
- The
ns1_application
resource attributesconfig
,default_config
andblended_metric_weights
are now blocks, with only one item permitted. This is due to an SDK 2.x restriction on nested structures. Existing resource files will need to be edited to remove the equals sign in the declarations of the affected stanzas, for example:
resource "ns1_application" "it" {
name = "my_application"
browser_wait_millis = 123
jobs_per_transaction = 100
default_config {
http = true
https = false
request_timeout_millis = 100
job_timeout_millis = 100
static_values = true
}
}
instead of the previous syntax:
default_config = {
ENHANCEMENTS
- User-agent string can now be customized in the resource file.
- Upgraded to ns1-go 2.7.3
BUG FIXES
- Fixed permissions problems with DNS record allow/deny lists (issues 196 and 197)
- Fixed a few cases where objects deleted from infrastructure but still in state were not being recognized correctly.
- Fixed error in HTTP response debug logging
- Datasource and datafeed schema fixes
BUG FIXES
- fixed permissions problems with DNS record allow/deny lists (issues 196 and 197)
ENHANCEMENTS
- The Hashicorp go-retryablehttp package is now used by default to retry requests when encountering 502/503 errors or connection errors.
- Upgraded to Terraform SDK 1.17.2
- Upgraded to ns1-go 2.7.2
BUG FIXES
- Fix recognition of datafeed "not found" errors.
- Fixed CAA record answers to allow answers with spaces after a domain (issue 238)
- HTTP 50x and similar errors are now properly displayed.
- API keys can now be imported.
- Documentation corrections and updates.
- Fixed rate-limit divide-by-zero error.
BUG FIXES
- Fixed CAA record answers to allow answers with spaces after a domain (issue 238)
- Upgrade to ns1-go v2.7.2 to get messages from HTTP 50x errors properly displayed.
- Upgraded to Terraform SDK 1.17.2
- Misc documentation fixes.
ENHANCEMENTS
- The Hashicorp go-retryablehttp package is now used by default to retry requests when encountering 502/503 errors or connection errors.
BUG FIXES
- Upgrade to ns1-go v2.7.1 to get fix for rate-limit divide-by-zero error.
ENHANCEMENTS
- HTTP debug logging now includes request/response times and response data
BUG FIXES
- Update instead of delete/recreate when changing link attribute of DNS record
- Region names in DNS record metadata now sorted to avoid false differences
- Permission flag change detection fixes (issue 237)
- Team object creation fix
- Additional acceptance test fixes
- Fix documentation typo
BUG FIXES
- Update instead of delete/recreate when changing link attribute of DNS record
- Fix documentation typo
ENHANCEMENTS:
- Added importers for datafeed, datasource, notifylist and monitoringjob #235
- Added support for additional secondary zone attributes #233
- Added DNS view support #234
- User-Agent string now provider-specific, can be overridden with
NS1_TF_USER_AGENT
environment variable - Requires ns1-go v2.7.0
BUG FIXES
- Mitigated a race condition that caused false errors to be returned when verifying a newly-created zone with DNSSEC enabled #235
- Monitoring job rules can now be deleting by removing them from the resource file (empty rules cannot be explicitly specified due to Terraform limitations) see ns1-go PR 173
- Better handling of monitoring job region names #229
- Monitoring job examples and documentation corrected #231
- API key no longer shown in debug output
- Fixed several acceptance tests
BUG FIXES:
- Sort monitoring job region names alphabetically to avoid unnecessary state pushes #224
ENCHANCEMENTS:
ENHANCEMENTS:
BUG FIXES:
ENHANCEMENTS:
- Updates go version to 1.17 to provide release binaries for darwin arm64
ENHANCEMENTS:
- Resolves subdivision formatting inconsistency with answers meta and regions meta
ENHANCEMENTS:
- Resolves subdivision formatting inconsistency
ENHANCEMENTS:
- Various documentation updates
- Added support for team and user import #193
ENHANCEMENTS:
- Added additional validation for notify lists #180
BUG FIXES:
- Various documentation updates
- Fixed an issue with changing the order of record filters #177
- Fixed an issue with ordering in IP whitelists #178
- Fixed an issue with erroneous state on Pulsar jobs #179
- Fixed an issue with empty metadata #181
ENHANCEMENTS:
- Adds support for Pulsar applications #172
- Adds support for Pulsar jobs #173
- Adds support for
dns_records_deny
anddns_records_allow
permission fields #165 - Adds support for the
mute
field on monitoring jobs #166
BUG FIXES:
- Fixed an issue with the
tls_add_verify
field on monitoring jobs #171 - Resolved an issue with default permissions #170
ENHANCEMENTS:
- Adds support for subdivisions to record resources #164
- Adds support for
dns_records_allow
anddns_records_deny
permissions #165 - Adds support for
mute
attribute to monitoring job resorce #166
BUG FIXES:
- Make
config
for filter chain ofrecord
computed if not provided #167
ENHANCEMENTS:
- Add more verbose logging output for failed requests #160
- Update to documentation to reflect proper usage for monitoring datafeeds #154
BUG FIXES:
- Correctly coerce
test_id
config value for datafeed resource used withthousandeyes
datasource
#163 - Change
notify_failback
field inmonitoringjob
resource default totrue
to match default in api #161
ENHANCEMENTS:
- Updates ns1-go dependency to add handling of rate limitting when API returns 4xx error #159.
BUG FIXES:
- Resolves issue with missing value for Key attribute when creating an apikey joined to a team #158.
ENHANCEMENTS:
- Adds DS record support #157.
NOTES:
- Updates docs to clarify
key
is an Attribute and not an Argument #150.
BUG FIXES:
- Adds missing
account_manage_ip_whitelist
permission #148.
BUG FIXES:
- Values for
tls_skip_verify
are coerced correctly #146. Thanks @zahiar!
BUG FIXES:
- Values for IPv6 monitoring job configs are coerced correctly #141.
FEATURES:
- New Data Source:
ns1_record
#137. Thanks to @zahiar!
ENHANCEMENTS:
- Add additional config field to monitoring job configuration
BUG FIXES:
- Resolves issue with config maps returning floats sometimes
BUG FIXES:
- Resolves an issue where changes involving feed pointers in record answer metadata were not detected (124)
BUG FIXES:
- Resolves issues on record filter and meta fields around boolean values not properly being converted to strings (123).
NOTES:
ENHANCEMENTS
- Change username validation regex to match validation used by NS1 API.(#119)
ENHANCEMENTS:
- support for pulsar metadata in record answers (#116)
BUG FIXES:
- Bump ns1-go SDK version to v2.2.1 - resolves an issue with ASNs causing panics (#113).
- Fix for IP Prefix ordering - don't show a change when order differs (#112).
ENHANCEMENTS:
- Validate username field in the provider, so issues with usernames are caught in the "plan" stage (#115).
NOTES:
- The
short_answers
attribute onns1_record
has had a deprecation warning added to it and will be deprecated in a future release (#102). - The project has been tagged as under "active development", in accordance with NS1 standards around public facing repositories (#109).
ENHANCEMENTS:
- Support for DDI permissions on teams, users, and API keys has been added,
and can be enabled via the new
enable_ddi
configuration option on the provider (#105). - Added IP Whitelist support for teams, users, and AIP keys (#105).
- Clarified documentation for IPv4 only fields (#108).
IMPROVEMENTS:
- Updated permissions behavior on user and API key resources to accurately show
terraform plan
differences when the user or key is part of a team and updated documentation accordingly (#100) - Switched to the Terraform standalone SDK (#101)
- Update resource state management to properly handle disappearing resources (#99)
IMPROVEMENTS:
- Add validation to the zone and domain fields on a record to more clearly indicate invalid inputs containing leading or trailing dots (#97)
ENHANCEMENTS:
BUG FIXES:
- fix interaction with the
autogenerate_ns_record
flag that was making terraform think a clean resource was dirty (#85)
ENHANCEMENTS:
- docs and example for using
autogenerate_ns_record
. (#83) - minor improvements to some error messages in tests.
- improve docs around the ordering requirement for zone regions.
- improve docs around provider arguments and environment variables.
IMPROVEMENTS:
- Add a configuration option to the provider to use an alternate strategy to avoid rate limit errors. (#88)
BUG FIXES:
- Pick up a divide by zero fix in the SDK, when rate limiting. Should wait around when hitting limits rather than falling over, and shouldn't require limiting parallelism to avoid 429 errors. (#74)
- We were explicitly sending defaults for
port
andnotify
fields insecondaries
, now they are implicit. Sending the defaultport
prevented using IP ranges. (#82)
ENHANCEMENTS:
- Allow secondary zone -> primary zone in-place. Old behavior was to force a new resource (DELETE/PUT) on any change to secondary. Now the only one that requires a new resource is when a zone becomes a secondary. See the note in docs. (#75)
- Support for CAA records. (#78)
DEPRECATION:
- We've bumped the CI tests to run under Go 1.12. Provider still works with 1.11, but we're developing on and targeting 1.12+ (#76)
BUG FIXES:
- Disallow setting SOA fields (refresh, retry, expiry, and nx_ttl) on secondary zones. An API bug allowed these fields to be set on "create", the API now discards any settings to these fields and sets them to default values. These fields are now marked as "ConflictsWith" for secondary zones. If you were doing this and tf complains or the plan becomes dirty, the solution is to ensure the values are correctly set to the defaults, and let these fields be computed. (#71)
ENHANCEMENTS:
- Support toggling DNSSEC on zones: requires account to have DNSSEC permission (this is managed by support) (#70)
- Zone DNSSEC data_source: this data source has the DNSSEC info for a zone with DNSSEC enabled (#72)
ENHANCEMENTS:
- Support outgoing transfer a.k.a. primary zone (#65)
- Add option to enable request body logging via env var (#67)
IMPROVEMENTS:
- acc tests: Randomize zone names to help prevent collisions (#64)
- Ignore order of location fields (comma sep strings) in record regions block [#68]
- Correct and improve docs around "regions" in record resource (#69)
IMPROVEMENTS:
- General Documentation updates: Flesh out examples and attributes across the board. (#62)
- Add known issues/roadmap section to main README (#62)
- resource/ns1_record: Document import and
meta
arguments. (#62)
ENHANCEMENTS:
- resource/notifylist: Add support for all notifier types currently supported by SDK. #59
- resource/ns1_zone: Add
additional_primaries
argument. Add documentation for all arguments and attributes. (#60) - datasource/ns1_zone: Add
additional_primaries
attribute. Add documentation for all arguments and attributes. (#60)
IMPROVEMENTS:
- Updates ns1-go dependency to latest version (#60)
IMPROVEMENTS:
- Update ns1-go dependency to latest version to fix bug when passing multiple
ip_prefixes
as comma delimited string #57 - Update Terraform dependency to v0.12.3 #58
IMPROVEMENTS:
- Update Terraform dependency to v0.12.0-rc1 #55
IMPROVEMENTS:
- Update ns1-go dependency to latest version #54. Thanks to @glennslaven!
BUG FIXES:
- resource/user: Force new user on modification of username #28. Thanks to @jamesgoodhouse!
- resource/record: Sort regions inside records to ensure deterministic comparison between configuration and current state #49. Regions in a record's region list will now need to be sorted alphanumerically by name, otherwise a modification will be detected when none actually exists. Thanks to @bparli!
FEATURES:
- New Data Source:
ns1_zone
#47
IMPROVEMENTS:
- Migrate to Go Modules #48)
- Refactor acceptance test fixtures to Terraform 0.12 syntax #50
- Update website and examples to Terraform 0.12 syntax #51
- Update ns1-go module latest version #51
BUG FIXES:
- resource/record: Don't try to convert config values to ints
BUG FIXES:
- resource/zone: Make
networks
field computed
- Add support for short_answers in record resources
- Metadata support implemented for records, answers, and regions
- Small bugfixes
- NS1 Support for Terraform implemented
NOTES:
- Same functionality as that of Terraform 0.9.8. Repacked as part of Provider Splitout