Skip to content

Releases: ns1-terraform/terraform-provider-ns1

v2.0.2

14 Mar 13:40
Compare
Choose a tag to compare

This is a version bump due to incorrect tagging. It can contains the following fixes.

2.0.2 (March 14, 2023)

BUG FIX

  • ns1-go client version bump fixes additional_metadata not applying correctly

Note:

  • To avoid whitespace issues in additional_metadata meta tag use jsonencode for example:
meta = {
  "additional_metadata" : jsonencode(
    [
      {
        a = "1"
        b = "2"
      }
  ])
}

v2.0.1

14 Mar 12:50
bed46be
Compare
Choose a tag to compare

2.0.1 (March 14, 2023)

BUG FIX

  • ns1-go client version bump fixes additional_metadata not applying correctly

Note:

  • To avoid whitespace issues in additional_metadata meta tag usejsonencode for example:
meta = {
  "additional_metadata" : jsonencode(
    [
      {
        a = "1"
        b = "3"
      }
  ])
}

v2.0.0

03 Mar 16:03
Compare
Choose a tag to compare

2.0.0 (March 3, 2023)

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 attributes config, default_config and blended_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" {
}

v2.0.0-pre1

17 Jan 22:03
Compare
Choose a tag to compare

2.0.0-pre1 (January 18, 2023)

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 attributes config, default_config and blended_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.

v1.13.4

09 Jan 23:21
Compare
Choose a tag to compare

1.13.4 (January 10, 2023)

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

v1.13.4-pre1

22 Dec 19:24
Compare
Choose a tag to compare

1.13.4-pre1 (December 22, 2022)

BUG FIXES

  • fixed permissions problems with DNS record allow/deny lists (issues 196 and 197)

v1.13.3

21 Dec 13:39
Compare
Choose a tag to compare

1.13.3 (December 21, 2022)

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.

v1.13.2

20 Dec 23:42
Compare
Choose a tag to compare

1.13.2 (December 21, 2022)

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.

v1.13.2-pre4

14 Dec 00:46
Compare
Choose a tag to compare

1.13.2-pre4 (prerelease) (December 14, 2022)

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.

v1.13.2-pre2

08 Dec 18:42
Compare
Choose a tag to compare

ENHANCEMENTS

  • The Hashicorp go-retryablehttp package is now used by default to retry requests when encountering 502/503 errors or connection errors.