Skip to content

Releases: fastly/terraform-provider-fastly

v5.1.0

13 Jun 17:06
v5.1.0
11ca0f4
Compare
Choose a tag to compare

5.1.0 (June 13, 2023)

ENHANCEMENTS:

  • feat(kv_store): support KV Store #691
  • feat(mutual_authentication): implement mTLS resource #702
  • feat(config_store): implement config store resource #705

BUG FIXES:

  • fix(rate_limiter): fix multiple runtime panics #706

DEPENDENCIES:

  • build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 #700
  • build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 #704
  • build(deps): bump github.com/hashicorp/terraform-plugin-docs from 0.14.1 to 0.15.0 #709

v5.0.0

22 May 16:40
v5.0.0
9821c16
Compare
Choose a tag to compare

5.0.0 (May 22, 2023)

BREAKING:

There was a long-standing issue with how Terraform reacted to the package.tar.gz file that the CLI produces. Effectively, hashing the package was inconsistent and caused Terraform to think the code had changed even when it hadn't.

To resolve the issue the Package API now returns a new metadata property (files_hash) that calculates the hash from a sorted list of the files within the package.

This PR updates the Terraform provider to use this new property instead of the original hashsum metadata property and exposes a new fastly_package_hash data source that will generate the appropriate value for the source_code_hash attribute.

Although the public interface has not changed, the underlying implementation changes have meant customers will no longer be able to use the previous approach of using filesha512 to generate a hash from their package file. So we must consider this PR a breaking change.

This does require a slight change to a customer's process, which prior to this release looked like this...

source_code_hash = filesha512("package.tar.gz")

As of this release, we recommend the use of the fastly_package_hash data source...

data "fastly_package_hash" "example" {
  filename = "./path/to/package.tar.gz"
}

resource "fastly_service_compute" "example" {
  # ...

  package {
    filename         = "./path/to/package.tar.gz"
    source_code_hash = data.fastly_package_hash.example.hash
  }
}
  • breaking(compute): fix package hash bug #698

v4.3.3

12 May 15:08
v4.3.3
714cd3b
Compare
Choose a tag to compare

4.3.3 (May 12, 2023)

BUG FIXES:

  • fix(gcs): project_id should be optional #693

DEPENDENCIES:

  • build(deps): bump golang.org/x/net from 0.9.0 to 0.10.0 #692

v4.3.2

02 May 10:46
v4.3.2
1040e32
Compare
Choose a tag to compare

4.3.2 (May 2, 2023)

BUG FIXES:

  • fix(product_enablement): avoid unexpected diff #689

v4.3.1

29 Apr 11:25
v4.3.1
cc2589e
Compare
Choose a tag to compare

4.3.1 (April 29, 2023)

ENHANCEMENTS:

  • Bump go-fastly to new v8 major release to add project-id in GCS for logging #685

BUG FIXES:

  • fix(product_enablement): error message check was too specific #687

v4.3.0

19 Apr 19:07
v4.3.0
c66baae
Compare
Choose a tag to compare

4.3.0 (April 19, 2023)

ENHANCEMENTS:

  • feat(data_source): new dictionaries data source #682

DEPENDENCIES:

  • build(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 #680
  • build(deps): bump github.com/bflad/tfproviderlint from 0.28.1 to 0.29.0 #681

v4.2.0

01 Apr 19:03
v4.2.0
bf08ef4
Compare
Choose a tag to compare

4.2.0 (April 1, 2023)

ENHANCEMENTS:

  • feat(ratelimiter): implement Rate Limiter API #678

v4.1.2

29 Mar 15:04
v4.1.2
9e53291
Compare
Choose a tag to compare

4.1.2 (March 29, 2023)

BUG FIXES:

  • fix(fastly_service_vcl): validate snippet names #673
  • fix(fastly_service_vcl): don't call http3 endpoint if already enabled #675

DEPENDENCIES:

  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.26.0 to 2.26.1 #671

v4.1.1

27 Mar 09:52
v4.1.1
cfeaf51
Compare
Choose a tag to compare

4.1.1 (March 27, 2023)

BUG FIXES:

  • fix(tls/subscriptions): tls configuration id should always be passed #670

DOCUMENTATION:

  • docs(tls/subscriptions): clarify default tls config commit

DEPENDENCIES:

  • build(dependencies): bump github.com/hashicorp/terraform-plugin-sdk/v2 #667
  • Bump actions/setup-go from 3 to 4 #664
  • Bump github.com/fastly/go-fastly/v7 from 7.4.0 to 7.5.0 #665

v4.1.0

16 Mar 11:57
v4.1.0
1c55d85
Compare
Choose a tag to compare

4.1.0 (March 16, 2023)

ENHANCEMENTS:

  • feat(fastly_service_compute): support new content attribute #661

DOCUMENTATION:

  • docs(dictionary): add import note #662

DEPENDENCIES:

  • Bump github.com/hashicorp/terraform-plugin-docs from 0.13.0 to 0.14.1 #656
  • Bump golang.org/x/net from 0.0.0-20211112202133-69e39bad7dc2 to 0.8.0 #655
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.24.0 to 2.25 #642
  • Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 #647