Releases: fastly/terraform-provider-fastly
v5.5.0
5.5.0 (September 19, 2023)
ENHANCEMENTS:
- feat(backend): support share_key attribute #747
- test(interface): add more resources #746
- test(interface): add more fastly_service_vcl attributes/blocks #756
- test(interface): add rate_limiter resource #759
BUG FIXES:
- fix: use paginator to fetch all ACL entries #758
DEPENDENCIES:
- build(deps): bump actions/checkout from 3 to 4 #744
- build(deps): bump github.com/fastly/go-fastly/v8 from 8.5.9 to 8.6.1 #745
- build(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.28.0 to 2.29.0 #752
- build(deps): bump goreleaser/goreleaser-action from 4 to 5 #754
- build(deps): bump golang.org/x/net from 0.14.0 to 0.15.0 #753
v5.4.0
v5.3.1
v5.3.0
v5.2.2
v5.2.1
v5.2.0
5.2.0 (June 22, 2023)
ENHANCEMENTS:
- feat: add file_max_bytes attribute to logging_s3 resource #711
BUG FIXES:
- fix(rate_limiter): add rate limter ID to delete call #714
- fix(rate_limiter): lookup new ID before actioning a deletion #715
DEPENDENCIES:
- build(deps): bump golang.org/x/net from 0.10.0 to 0.11.0 #712
v5.1.0
v5.0.0
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