diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index dfbed347b..b905665ca 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -12,7 +12,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.19.x + go-version: 1.20.x - name: Restore cache uses: actions/cache@v3 with: @@ -29,7 +29,7 @@ jobs: test: strategy: matrix: - go-version: [1.19.x] + go-version: [1.20.x] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -58,7 +58,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.19.x + go-version: 1.20.x - name: Generate Docs run: | make generate-docs @@ -78,7 +78,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.19.x + go-version: 1.20.x - name: Restore cache uses: actions/cache@v3 with: @@ -128,7 +128,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.19.x + go-version: 1.20.x - name: Restore cache uses: actions/cache@v3 with: @@ -187,7 +187,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.19.x + go-version: 1.20.x - name: Restore cache uses: actions/cache@v3 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 480cbfad6..3df715833 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.19.x + go-version: 1.20.x - name: Import GPG key id: import_gpg uses: fastly/ghaction-import-gpg@v2.1.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 669c4dd85..00d79876f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,140 +1,167 @@ -## 5.7.0 (Unreleased) +## 5.8.0 (Unreleased) + +## 5.7.0 (February 29, 2024) + +BUG FIXES: + +- remove: mTLS from state if API returns 404 [#794](https://github.com/fastly/terraform-provider-fastly/pull/794) +- fix(docs): YAML Frontmatter formatting in product_enablement.md [#788](https://github.com/fastly/terraform-provider-fastly/pull/788) +- fix(request_settings): allow unsetting of action [#814](https://github.com/fastly/terraform-provider-fastly/pull/814) + +ENHANCEMENTS: + +- ci: add golangci-lint action [#777](https://github.com/fastly/terraform-provider-fastly/pull/777) +- feat(logging_newrelicotlp): add new logging block [#786](https://github.com/fastly/terraform-provider-fastly/pull/786) +- ci: slash command to trigger tests for forked PRs [#785](https://github.com/fastly/terraform-provider-fastly/pull/785) +- ci: fix ok-to-test [#796](https://github.com/fastly/terraform-provider-fastly/pull/796) +- refactor(all): support go-fastly v9 [#808](https://github.com/fastly/terraform-provider-fastly/pull/808) +- feat(fastly_alert): implement resource and documentation [#810](https://github.com/fastly/terraform-provider-fastly/pull/810) + +DEPENDENCIES: + +- build(deps): bump hashicorp/setup-terraform from 2 to 3 [#776](https://github.com/fastly/terraform-provider-fastly/pull/776) +- build(deps): bump github.com/fastly/go-fastly/v8 from 8.6.2 to 8.6.4 [#779](https://github.com/fastly/terraform-provider-fastly/pull/779) +- build(deps): bump google.golang.org/grpc from 1.57.0 to 1.57.1 [#780](https://github.com/fastly/terraform-provider-fastly/pull/780) +- build(deps): bump actions/setup-go from 4 to 5 [#789](https://github.com/fastly/terraform-provider-fastly/pull/789) +- build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 [#793](https://github.com/fastly/terraform-provider-fastly/pull/793) +- build(deps): bump golang.org/x/net from 0.17.0 to 0.19.0 [#784](https://github.com/fastly/terraform-provider-fastly/pull/784) +- xxx [#](https://github.com/fastly/terraform-provider-fastly/pull/) ## 5.6.0 (October 18, 2023) BUG FIXES: -* fix(product_enablement): avoid accidentally disabling products on update [#763](https://github.com/fastly/terraform-provider-fastly/pull/763) +- fix(product_enablement): avoid accidentally disabling products on update [#763](https://github.com/fastly/terraform-provider-fastly/pull/763) ENHANCEMENTS: -* refactor(product_enablement): make Read() logic consistent with other resource types [#773](https://github.com/fastly/terraform-provider-fastly/pull/773) +- refactor(product_enablement): make Read() logic consistent with other resource types [#773](https://github.com/fastly/terraform-provider-fastly/pull/773) DEPENDENCIES: -* build(deps): bump github.com/fastly/go-fastly/v8 from 8.6.1 to 8.6.2 [#765](https://github.com/fastly/terraform-provider-fastly/pull/765) -* build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 [#771](https://github.com/fastly/terraform-provider-fastly/pull/771) -* build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 [#770](https://github.com/fastly/terraform-provider-fastly/pull/770) +- build(deps): bump github.com/fastly/go-fastly/v8 from 8.6.1 to 8.6.2 [#765](https://github.com/fastly/terraform-provider-fastly/pull/765) +- build(deps): bump golang.org/x/net from 0.15.0 to 0.17.0 [#771](https://github.com/fastly/terraform-provider-fastly/pull/771) +- build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 [#770](https://github.com/fastly/terraform-provider-fastly/pull/770) DOCUMENTATION: -* docs: product enablement [#762](https://github.com/fastly/terraform-provider-fastly/pull/762) -* doc: rename Compute@Edge to Compute [#769](https://github.com/fastly/terraform-provider-fastly/pull/769) +- docs: product enablement [#762](https://github.com/fastly/terraform-provider-fastly/pull/762) +- doc: rename Compute@Edge to Compute [#769](https://github.com/fastly/terraform-provider-fastly/pull/769) ## 5.5.0 (September 19, 2023) ENHANCEMENTS: -* feat(backend): support share_key attribute [#747](https://github.com/fastly/terraform-provider-fastly/pull/747) -* test(interface): add more resources [#746](https://github.com/fastly/terraform-provider-fastly/pull/746) -* test(interface): add more fastly_service_vcl attributes/blocks [#756](https://github.com/fastly/terraform-provider-fastly/pull/756) -* test(interface): add rate_limiter resource [#759](https://github.com/fastly/terraform-provider-fastly/pull/759) +- feat(backend): support share_key attribute [#747](https://github.com/fastly/terraform-provider-fastly/pull/747) +- test(interface): add more resources [#746](https://github.com/fastly/terraform-provider-fastly/pull/746) +- test(interface): add more fastly_service_vcl attributes/blocks [#756](https://github.com/fastly/terraform-provider-fastly/pull/756) +- test(interface): add rate_limiter resource [#759](https://github.com/fastly/terraform-provider-fastly/pull/759) BUG FIXES: -* fix: use paginator to fetch all ACL entries [#758](https://github.com/fastly/terraform-provider-fastly/pull/758) +- fix: use paginator to fetch all ACL entries [#758](https://github.com/fastly/terraform-provider-fastly/pull/758) DEPENDENCIES: -* build(deps): bump actions/checkout from 3 to 4 [#744](https://github.com/fastly/terraform-provider-fastly/pull/744) -* build(deps): bump github.com/fastly/go-fastly/v8 from 8.5.9 to 8.6.1 [#745](https://github.com/fastly/terraform-provider-fastly/pull/745) -* build(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.28.0 to 2.29.0 [#752](https://github.com/fastly/terraform-provider-fastly/pull/752) -* build(deps): bump goreleaser/goreleaser-action from 4 to 5 [#754](https://github.com/fastly/terraform-provider-fastly/pull/754) -* build(deps): bump golang.org/x/net from 0.14.0 to 0.15.0 [#753](https://github.com/fastly/terraform-provider-fastly/pull/753) +- build(deps): bump actions/checkout from 3 to 4 [#744](https://github.com/fastly/terraform-provider-fastly/pull/744) +- build(deps): bump github.com/fastly/go-fastly/v8 from 8.5.9 to 8.6.1 [#745](https://github.com/fastly/terraform-provider-fastly/pull/745) +- build(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.28.0 to 2.29.0 [#752](https://github.com/fastly/terraform-provider-fastly/pull/752) +- build(deps): bump goreleaser/goreleaser-action from 4 to 5 [#754](https://github.com/fastly/terraform-provider-fastly/pull/754) +- build(deps): bump golang.org/x/net from 0.14.0 to 0.15.0 [#753](https://github.com/fastly/terraform-provider-fastly/pull/753) ## 5.4.0 (September 1, 2023) ENHANCEMENTS: -* feat(fastly_secretstore): implement resource and documentation [#707](https://github.com/fastly/terraform-provider-fastly/pull/707) -* ci: validate interface not broken [#735](https://github.com/fastly/terraform-provider-fastly/pull/735) +- feat(fastly_secretstore): implement resource and documentation [#707](https://github.com/fastly/terraform-provider-fastly/pull/707) +- ci: validate interface not broken [#735](https://github.com/fastly/terraform-provider-fastly/pull/735) BUG FIXES: -* fix(product_enablement): add additional error message filter [#740](https://github.com/fastly/terraform-provider-fastly/pull/740) +- fix(product_enablement): add additional error message filter [#740](https://github.com/fastly/terraform-provider-fastly/pull/740) DEPENDENCIES: -* build: update all dependencies [#739](https://github.com/fastly/terraform-provider-fastly/pull/739) -* build(deps): bump golang.org/x/net from 0.12.0 to 0.14.0 [#734](https://github.com/fastly/terraform-provider-fastly/pull/734) +- build: update all dependencies [#739](https://github.com/fastly/terraform-provider-fastly/pull/739) +- build(deps): bump golang.org/x/net from 0.12.0 to 0.14.0 [#734](https://github.com/fastly/terraform-provider-fastly/pull/734) ## 5.3.1 (August 9, 2023) ENHANCEMENTS: -* feat(package): make package optional [#733](https://github.com/fastly/terraform-provider-fastly/pull/733) +- feat(package): make package optional [#733](https://github.com/fastly/terraform-provider-fastly/pull/733) BUG FIXES: -* revert(backend): revert removal of `error_threshold` attribute [#731](https://github.com/fastly/terraform-provider-fastly/pull/731) +- revert(backend): revert removal of `error_threshold` attribute [#731](https://github.com/fastly/terraform-provider-fastly/pull/731) ## 5.3.0 (August 4, 2023) ENHANCEMENTS: -* feat: create fastly_configstores data source [#729](https://github.com/fastly/terraform-provider-fastly/pull/729) -* feat: create fastly_kvstores data source [#730](https://github.com/fastly/terraform-provider-fastly/pull/730) +- feat: create fastly_configstores data source [#729](https://github.com/fastly/terraform-provider-fastly/pull/729) +- feat: create fastly_kvstores data source [#730](https://github.com/fastly/terraform-provider-fastly/pull/730) BUG FIXES: -* fix(request_settings): don't send empty string for request_condition [#722](https://github.com/fastly/terraform-provider-fastly/pull/722) -* fix(backend): remove redundant error_threshold attribute [#731](https://github.com/fastly/terraform-provider-fastly/pull/731) +- fix(request_settings): don't send empty string for request_condition [#722](https://github.com/fastly/terraform-provider-fastly/pull/722) +- fix(backend): remove redundant error_threshold attribute [#731](https://github.com/fastly/terraform-provider-fastly/pull/731) DEPENDENCIES: -* build(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 [#723](https://github.com/fastly/terraform-provider-fastly/pull/723) -* build(deps): bump github.com/hashicorp/terraform-plugin-docs [#726](https://github.com/fastly/terraform-provider-fastly/pull/726) -* build(deps): bump golang.org/x/net from 0.11.0 to 0.12.0 [#725](https://github.com/fastly/terraform-provider-fastly/pull/725) -* build(deps): bump github.com/fastly/go-fastly/v8 from 8.5.4 to 8.5.7 [#727](https://github.com/fastly/terraform-provider-fastly/pull/727) +- build(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 [#723](https://github.com/fastly/terraform-provider-fastly/pull/723) +- build(deps): bump github.com/hashicorp/terraform-plugin-docs [#726](https://github.com/fastly/terraform-provider-fastly/pull/726) +- build(deps): bump golang.org/x/net from 0.11.0 to 0.12.0 [#725](https://github.com/fastly/terraform-provider-fastly/pull/725) +- build(deps): bump github.com/fastly/go-fastly/v8 from 8.5.4 to 8.5.7 [#727](https://github.com/fastly/terraform-provider-fastly/pull/727) ## 5.2.2 (June 29, 2023) BUG FIXES: -* fix(stores): remove store from state if not found remotely [#719](https://github.com/fastly/terraform-provider-fastly/pull/719) +- fix(stores): remove store from state if not found remotely [#719](https://github.com/fastly/terraform-provider-fastly/pull/719) DEPENDENCIES: -* build(deps): bump go-fastly to latest 8.5.4 [#720](https://github.com/fastly/terraform-provider-fastly/pull/720) +- build(deps): bump go-fastly to latest 8.5.4 [#720](https://github.com/fastly/terraform-provider-fastly/pull/720) ## 5.2.1 (June 23, 2023) DEPENDENCIES: -* build(deps): update go-fastly to latest 8.5.2 release [#717](https://github.com/fastly/terraform-provider-fastly/pull/717) +- build(deps): update go-fastly to latest 8.5.2 release [#717](https://github.com/fastly/terraform-provider-fastly/pull/717) ## 5.2.0 (June 22, 2023) ENHANCEMENTS: -* feat: add file_max_bytes attribute to logging_s3 resource [#711](https://github.com/fastly/terraform-provider-fastly/pull/711) +- feat: add file_max_bytes attribute to logging_s3 resource [#711](https://github.com/fastly/terraform-provider-fastly/pull/711) BUG FIXES: -* fix(rate_limiter): add rate limter ID to delete call [#714](https://github.com/fastly/terraform-provider-fastly/pull/714) -* fix(rate_limiter): lookup new ID before actioning a deletion [#715](https://github.com/fastly/terraform-provider-fastly/pull/715) +- fix(rate_limiter): add rate limter ID to delete call [#714](https://github.com/fastly/terraform-provider-fastly/pull/714) +- fix(rate_limiter): lookup new ID before actioning a deletion [#715](https://github.com/fastly/terraform-provider-fastly/pull/715) DEPENDENCIES: -* build(deps): bump golang.org/x/net from 0.10.0 to 0.11.0 [#712](https://github.com/fastly/terraform-provider-fastly/pull/712) +- build(deps): bump golang.org/x/net from 0.10.0 to 0.11.0 [#712](https://github.com/fastly/terraform-provider-fastly/pull/712) ## 5.1.0 (June 13, 2023) ENHANCEMENTS: -* feat(kv_store): support KV Store [#691](https://github.com/fastly/terraform-provider-fastly/pull/691) -* feat(mutual_authentication): implement mTLS resource [#702](https://github.com/fastly/terraform-provider-fastly/pull/702) -* feat(config_store): implement config store resource [#705](https://github.com/fastly/terraform-provider-fastly/pull/705) +- feat(kv_store): support KV Store [#691](https://github.com/fastly/terraform-provider-fastly/pull/691) +- feat(mutual_authentication): implement mTLS resource [#702](https://github.com/fastly/terraform-provider-fastly/pull/702) +- feat(config_store): implement config store resource [#705](https://github.com/fastly/terraform-provider-fastly/pull/705) BUG FIXES: -* fix(rate_limiter): fix multiple runtime panics [#706](https://github.com/fastly/terraform-provider-fastly/pull/706) +- fix(rate_limiter): fix multiple runtime panics [#706](https://github.com/fastly/terraform-provider-fastly/pull/706) DEPENDENCIES: -* build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [#700](https://github.com/fastly/terraform-provider-fastly/pull/700) -* build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 [#704](https://github.com/fastly/terraform-provider-fastly/pull/704) -* build(deps): bump github.com/hashicorp/terraform-plugin-docs from 0.14.1 to 0.15.0 [#709](https://github.com/fastly/terraform-provider-fastly/pull/709) +- build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [#700](https://github.com/fastly/terraform-provider-fastly/pull/700) +- build(deps): bump github.com/stretchr/testify from 1.8.3 to 1.8.4 [#704](https://github.com/fastly/terraform-provider-fastly/pull/704) +- build(deps): bump github.com/hashicorp/terraform-plugin-docs from 0.14.1 to 0.15.0 [#709](https://github.com/fastly/terraform-provider-fastly/pull/709) ## 5.0.0 (May 22, 2023) @@ -144,7 +171,7 @@ There was a long-standing issue with how Terraform reacted to the `package.tar.g 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. +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. @@ -171,94 +198,94 @@ resource "fastly_service_compute" "example" { } ``` -* breaking(compute): fix package hash bug [#698](https://github.com/fastly/terraform-provider-fastly/pull/698) +- breaking(compute): fix package hash bug [#698](https://github.com/fastly/terraform-provider-fastly/pull/698) ## 4.3.3 (May 12, 2023) BUG FIXES: -* fix(gcs): `project_id` should be optional [#693](https://github.com/fastly/terraform-provider-fastly/pull/693) +- fix(gcs): `project_id` should be optional [#693](https://github.com/fastly/terraform-provider-fastly/pull/693) DEPENDENCIES: -* build(deps): bump golang.org/x/net from 0.9.0 to 0.10.0 [#692](https://github.com/fastly/terraform-provider-fastly/pull/692) +- build(deps): bump golang.org/x/net from 0.9.0 to 0.10.0 [#692](https://github.com/fastly/terraform-provider-fastly/pull/692) ## 4.3.2 (May 2, 2023) BUG FIXES: -* fix(product_enablement): avoid unexpected diff [#689](https://github.com/fastly/terraform-provider-fastly/pull/689) +- fix(product_enablement): avoid unexpected diff [#689](https://github.com/fastly/terraform-provider-fastly/pull/689) ## 4.3.1 (April 29, 2023) ENHANCEMENTS: -* Bump go-fastly to new v8 major release to add project-id in GCS for logging [#685](https://github.com/fastly/terraform-provider-fastly/pull/685) +- Bump go-fastly to new v8 major release to add project-id in GCS for logging [#685](https://github.com/fastly/terraform-provider-fastly/pull/685) BUG FIXES: -* fix(product_enablement): error message check was too specific [#687](https://github.com/fastly/terraform-provider-fastly/pull/687) +- fix(product_enablement): error message check was too specific [#687](https://github.com/fastly/terraform-provider-fastly/pull/687) ## 4.3.0 (April 19, 2023) ENHANCEMENTS: -* feat(data_source): new dictionaries data source [#682](https://github.com/fastly/terraform-provider-fastly/pull/682) +- feat(data_source): new dictionaries data source [#682](https://github.com/fastly/terraform-provider-fastly/pull/682) DEPENDENCIES: -* build(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 [#680](https://github.com/fastly/terraform-provider-fastly/pull/680) -* build(deps): bump github.com/bflad/tfproviderlint from 0.28.1 to 0.29.0 [#681](https://github.com/fastly/terraform-provider-fastly/pull/681) +- build(deps): bump golang.org/x/net from 0.8.0 to 0.9.0 [#680](https://github.com/fastly/terraform-provider-fastly/pull/680) +- build(deps): bump github.com/bflad/tfproviderlint from 0.28.1 to 0.29.0 [#681](https://github.com/fastly/terraform-provider-fastly/pull/681) ## 4.2.0 (April 1, 2023) ENHANCEMENTS: -* feat(ratelimiter): implement Rate Limiter API [#678](https://github.com/fastly/terraform-provider-fastly/pull/678) +- feat(ratelimiter): implement Rate Limiter API [#678](https://github.com/fastly/terraform-provider-fastly/pull/678) ## 4.1.2 (March 29, 2023) BUG FIXES: -* fix(fastly_service_vcl): validate snippet names [#673](https://github.com/fastly/terraform-provider-fastly/pull/673) -* fix(fastly_service_vcl): don't call http3 endpoint if already enabled [#675](https://github.com/fastly/terraform-provider-fastly/pull/675) +- fix(fastly_service_vcl): validate snippet names [#673](https://github.com/fastly/terraform-provider-fastly/pull/673) +- fix(fastly_service_vcl): don't call http3 endpoint if already enabled [#675](https://github.com/fastly/terraform-provider-fastly/pull/675) DEPENDENCIES: -* Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.26.0 to 2.26.1 [#671](https://github.com/fastly/terraform-provider-fastly/pull/671) +- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.26.0 to 2.26.1 [#671](https://github.com/fastly/terraform-provider-fastly/pull/671) ## 4.1.1 (March 27, 2023) BUG FIXES: -* fix(tls/subscriptions): tls configuration id should always be passed [#670](https://github.com/fastly/terraform-provider-fastly/pull/670) +- fix(tls/subscriptions): tls configuration id should always be passed [#670](https://github.com/fastly/terraform-provider-fastly/pull/670) DOCUMENTATION: -* docs(tls/subscriptions): clarify default tls config [commit](https://github.com/fastly/terraform-provider-fastly/commit/e0c80d39060082271f382965d21d341e1affaeb0) +- docs(tls/subscriptions): clarify default tls config [commit](https://github.com/fastly/terraform-provider-fastly/commit/e0c80d39060082271f382965d21d341e1affaeb0) DEPENDENCIES: -* build(dependencies): bump github.com/hashicorp/terraform-plugin-sdk/v2 [#667](https://github.com/fastly/terraform-provider-fastly/pull/667) -* Bump actions/setup-go from 3 to 4 [#664](https://github.com/fastly/terraform-provider-fastly/pull/664) -* Bump github.com/fastly/go-fastly/v7 from 7.4.0 to 7.5.0 [#665](https://github.com/fastly/terraform-provider-fastly/pull/665) +- build(dependencies): bump github.com/hashicorp/terraform-plugin-sdk/v2 [#667](https://github.com/fastly/terraform-provider-fastly/pull/667) +- Bump actions/setup-go from 3 to 4 [#664](https://github.com/fastly/terraform-provider-fastly/pull/664) +- Bump github.com/fastly/go-fastly/v7 from 7.4.0 to 7.5.0 [#665](https://github.com/fastly/terraform-provider-fastly/pull/665) ## 4.1.0 (March 16, 2023) ENHANCEMENTS: -* feat(fastly_service_compute): support new `content` attribute [#661](https://github.com/fastly/terraform-provider-fastly/pull/661) +- feat(fastly_service_compute): support new `content` attribute [#661](https://github.com/fastly/terraform-provider-fastly/pull/661) DOCUMENTATION: -* docs(dictionary): add import note [#662](https://github.com/fastly/terraform-provider-fastly/pull/662) +- docs(dictionary): add import note [#662](https://github.com/fastly/terraform-provider-fastly/pull/662) DEPENDENCIES: -* Bump github.com/hashicorp/terraform-plugin-docs from 0.13.0 to 0.14.1 [#656](https://github.com/fastly/terraform-provider-fastly/pull/656) -* Bump golang.org/x/net from 0.0.0-20211112202133-69e39bad7dc2 to 0.8.0 [#655](https://github.com/fastly/terraform-provider-fastly/pull/655) -* Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.24.0 to 2.25 [#642](https://github.com/fastly/terraform-provider-fastly/pull/642) -* Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 [#647](https://github.com/fastly/terraform-provider-fastly/pull/647) +- Bump github.com/hashicorp/terraform-plugin-docs from 0.13.0 to 0.14.1 [#656](https://github.com/fastly/terraform-provider-fastly/pull/656) +- Bump golang.org/x/net from 0.0.0-20211112202133-69e39bad7dc2 to 0.8.0 [#655](https://github.com/fastly/terraform-provider-fastly/pull/655) +- Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.24.0 to 2.25 [#642](https://github.com/fastly/terraform-provider-fastly/pull/642) +- Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 [#647](https://github.com/fastly/terraform-provider-fastly/pull/647) ## 4.0.0 (March 9, 2023) @@ -266,68 +293,68 @@ BREAKING: Only one minor breaking interface change has been made: the removal of the `auto_loadbalance` attribute from the `backend` block, which is still supported for the `fastly_service_vcl` resource but was never actually supported under the `fastly_service_compute` resource. -* fix(backend): remove `auto_loadbalance` from compute service [#657](https://github.com/fastly/terraform-provider-fastly/pull/657) +- fix(backend): remove `auto_loadbalance` from compute service [#657](https://github.com/fastly/terraform-provider-fastly/pull/657) BUG FIXES: -* fix: add missing format attribute when updating [#659](https://github.com/fastly/terraform-provider-fastly/pull/659) +- fix: add missing format attribute when updating [#659](https://github.com/fastly/terraform-provider-fastly/pull/659) ENHANCEMENTS: -* Enable the declaration of the keepalive_time backend attribute [#658](https://github.com/fastly/terraform-provider-fastly/pull/658) +- Enable the declaration of the keepalive_time backend attribute [#658](https://github.com/fastly/terraform-provider-fastly/pull/658) ## 3.2.0 (March 2, 2023) ENHANCEMENTS: -* Allow certainly as a certificate authority [#648](https://github.com/fastly/terraform-provider-fastly/pull/648) +- Allow certainly as a certificate authority [#648](https://github.com/fastly/terraform-provider-fastly/pull/648) BUG FIXES: -* fix(product_enablement): improve error handling for user scenarios without self-enablement [#651](https://github.com/fastly/terraform-provider-fastly/pull/651) +- fix(product_enablement): improve error handling for user scenarios without self-enablement [#651](https://github.com/fastly/terraform-provider-fastly/pull/651) DOCUMENTATION: -* docs: tls subscriptions [#649](https://github.com/fastly/terraform-provider-fastly/pull/649) +- docs: tls subscriptions [#649](https://github.com/fastly/terraform-provider-fastly/pull/649) ## 3.1.0 (February 21, 2023) ENHANCEMENTS: -* feat(http3): implementing the HTTP3 API [#640](https://github.com/fastly/terraform-provider-fastly/pull/640) -* feat(product_enablement): implement product enablement APIs [#641](https://github.com/fastly/terraform-provider-fastly/pull/641) +- feat(http3): implementing the HTTP3 API [#640](https://github.com/fastly/terraform-provider-fastly/pull/640) +- feat(product_enablement): implement product enablement APIs [#641](https://github.com/fastly/terraform-provider-fastly/pull/641) ## 3.0.4 (January 9, 2023) BUG FIXES: -* fix: force refresh when service version is reverted outside of Terraform [#630](https://github.com/fastly/terraform-provider-fastly/pull/630) +- fix: force refresh when service version is reverted outside of Terraform [#630](https://github.com/fastly/terraform-provider-fastly/pull/630) DEPENDENCIES: -* Bump goreleaser/goreleaser-action from 3 to 4 [#626](https://github.com/fastly/terraform-provider-fastly/pull/626) +- Bump goreleaser/goreleaser-action from 3 to 4 [#626](https://github.com/fastly/terraform-provider-fastly/pull/626) ## 3.0.3 (December 7, 2022) BUG FIXES: -* Prevent SSL related fields from being sent empty to the Fastly API [#622](https://github.com/fastly/terraform-provider-fastly/pull/622) +- Prevent SSL related fields from being sent empty to the Fastly API [#622](https://github.com/fastly/terraform-provider-fastly/pull/622) DOCUMENTATION: -* docs: remove 'alpha' notice from custom health check http headers feature [#623](https://github.com/fastly/terraform-provider-fastly/pull/623) +- docs: remove 'alpha' notice from custom health check http headers feature [#623](https://github.com/fastly/terraform-provider-fastly/pull/623) ## 3.0.2 (November 23, 2022) BUG FIXES: -* Fix logging endpoints to not send empty placement value [#620](https://github.com/fastly/terraform-provider-fastly/pull/620) +- Fix logging endpoints to not send empty placement value [#620](https://github.com/fastly/terraform-provider-fastly/pull/620) ## 3.0.1 (November 22, 2022) BUG FIXES: -* Backends send empty string to API [#618](https://github.com/fastly/terraform-provider-fastly/pull/618) +- Backends send empty string to API [#618](https://github.com/fastly/terraform-provider-fastly/pull/618) ## 3.0.0 (November 16, 2022) @@ -339,822 +366,822 @@ There has also been many bug fixes as part of the integration with the latest go BREAKING: -* Bump go-fastly to new v7 major release [#614](https://github.com/fastly/terraform-provider-fastly/pull/614) +- Bump go-fastly to new v7 major release [#614](https://github.com/fastly/terraform-provider-fastly/pull/614) ENHANCEMENTS: -* feat: dependabot workflow automation for updating dependency [#604](https://github.com/fastly/terraform-provider-fastly/pull/604) -* Add google account name to all gcp logging endpoints [#603](https://github.com/fastly/terraform-provider-fastly/pull/603) +- feat: dependabot workflow automation for updating dependency [#604](https://github.com/fastly/terraform-provider-fastly/pull/604) +- Add google account name to all gcp logging endpoints [#603](https://github.com/fastly/terraform-provider-fastly/pull/603) BUG FIXES: -* fix incorrect update reference [#599](https://github.com/fastly/terraform-provider-fastly/pull/599) +- fix incorrect update reference [#599](https://github.com/fastly/terraform-provider-fastly/pull/599) DEPENDENCIES: -* Bump actions/checkout from 2 to 3 [#605](https://github.com/fastly/terraform-provider-fastly/pull/605) -* Bump goreleaser/goreleaser-action from 2 to 3 [#606](https://github.com/fastly/terraform-provider-fastly/pull/606) -* Bump github.com/bflad/tfproviderlint from 0.27.1 to 0.28.1 [#611](https://github.com/fastly/terraform-provider-fastly/pull/611) -* Bump github.com/stretchr/testify from 1.7.0 to 1.8.1 [#610](https://github.com/fastly/terraform-provider-fastly/pull/610) -* Bump github.com/google/go-cmp from 0.5.6 to 0.5.9 [#608](https://github.com/fastly/terraform-provider-fastly/pull/608) -* Bump actions/setup-go from 2 to 3 [#607](https://github.com/fastly/terraform-provider-fastly/pull/607) -* Bump github.com/hashicorp/terraform-plugin-docs from 0.5.0 to 0.13.0 [#612](https://github.com/fastly/terraform-provider-fastly/pull/612) -* Bump actions/cache from 2 to 3 [#616](https://github.com/fastly/terraform-provider-fastly/pull/616) +- Bump actions/checkout from 2 to 3 [#605](https://github.com/fastly/terraform-provider-fastly/pull/605) +- Bump goreleaser/goreleaser-action from 2 to 3 [#606](https://github.com/fastly/terraform-provider-fastly/pull/606) +- Bump github.com/bflad/tfproviderlint from 0.27.1 to 0.28.1 [#611](https://github.com/fastly/terraform-provider-fastly/pull/611) +- Bump github.com/stretchr/testify from 1.7.0 to 1.8.1 [#610](https://github.com/fastly/terraform-provider-fastly/pull/610) +- Bump github.com/google/go-cmp from 0.5.6 to 0.5.9 [#608](https://github.com/fastly/terraform-provider-fastly/pull/608) +- Bump actions/setup-go from 2 to 3 [#607](https://github.com/fastly/terraform-provider-fastly/pull/607) +- Bump github.com/hashicorp/terraform-plugin-docs from 0.5.0 to 0.13.0 [#612](https://github.com/fastly/terraform-provider-fastly/pull/612) +- Bump actions/cache from 2 to 3 [#616](https://github.com/fastly/terraform-provider-fastly/pull/616) ## 2.4.0 (October 13, 2022) ENHANCEMENTS: -* Support health check headers [#598](https://github.com/fastly/terraform-provider-fastly/pull/598) -* Code base refactor with tfproviderlintx [#596](https://github.com/fastly/terraform-provider-fastly/pull/596) +- Support health check headers [#598](https://github.com/fastly/terraform-provider-fastly/pull/598) +- Code base refactor with tfproviderlintx [#596](https://github.com/fastly/terraform-provider-fastly/pull/596) ## 2.3.3 (October 3, 2022) ENHANCEMENTS: -* Reduce unnecessary API calls [#593](https://github.com/fastly/terraform-provider-fastly/pull/593) +- Reduce unnecessary API calls [#593](https://github.com/fastly/terraform-provider-fastly/pull/593) ## 2.3.2 (September 20, 2022) ENHANCEMENTS: -* Support for additional S3 storage classes [#589](https://github.com/fastly/terraform-provider-fastly/pull/589) +- Support for additional S3 storage classes [#589](https://github.com/fastly/terraform-provider-fastly/pull/589) DOCUMENTATION: -* Remove inconsistent 'warning' message [#591](https://github.com/fastly/terraform-provider-fastly/pull/591) +- Remove inconsistent 'warning' message [#591](https://github.com/fastly/terraform-provider-fastly/pull/591) ## 2.3.1 (September 12, 2022) BUG FIXES: -* Bump dependencies to fix Dependabot vulnerability [#586](https://github.com/fastly/terraform-provider-fastly/pull/586) +- Bump dependencies to fix Dependabot vulnerability [#586](https://github.com/fastly/terraform-provider-fastly/pull/586) ## 2.3.0 (September 5, 2022) ENHANCEMENTS: -* Allow services to be reused [#578](https://github.com/fastly/terraform-provider-fastly/pull/578) -* Static analysis refactoring [#581](https://github.com/fastly/terraform-provider-fastly/pull/581) -* Revive linter refactoring [#584](https://github.com/fastly/terraform-provider-fastly/pull/584) +- Allow services to be reused [#578](https://github.com/fastly/terraform-provider-fastly/pull/578) +- Static analysis refactoring [#581](https://github.com/fastly/terraform-provider-fastly/pull/581) +- Revive linter refactoring [#584](https://github.com/fastly/terraform-provider-fastly/pull/584) DOCUMENTATION: -* Document updating `fastly_tls_certificate` [#582](https://github.com/fastly/terraform-provider-fastly/pull/582) +- Document updating `fastly_tls_certificate` [#582](https://github.com/fastly/terraform-provider-fastly/pull/582) ## 2.2.1 (July 21, 2022) BUG FIXES: -* Fix Splunk `token` attribute to be required [#579](https://github.com/fastly/terraform-provider-fastly/pull/579) +- Fix Splunk `token` attribute to be required [#579](https://github.com/fastly/terraform-provider-fastly/pull/579) ## 2.2.0 (July 5, 2022) ENHANCEMENTS: -* Data Source: fastly_services [#575](https://github.com/fastly/terraform-provider-fastly/pull/575) +- Data Source: fastly_services [#575](https://github.com/fastly/terraform-provider-fastly/pull/575) ## 2.1.0 (June 27, 2022) ENHANCEMENTS: -* Support Service Authorizations [#572](https://github.com/fastly/terraform-provider-fastly/pull/572) +- Support Service Authorizations [#572](https://github.com/fastly/terraform-provider-fastly/pull/572) BUG FIXES: -* Fix integration tests [#573](https://github.com/fastly/terraform-provider-fastly/pull/573) +- Fix integration tests [#573](https://github.com/fastly/terraform-provider-fastly/pull/573) ## 2.0.0 (May 10, 2022) BUG FIXES: -* Remove unsupported features (Healthchecks, Directors and VCL settings) from `fastly_service_compute` [#569](https://github.com/fastly/terraform-provider-fastly/pull/569) +- Remove unsupported features (Healthchecks, Directors and VCL settings) from `fastly_service_compute` [#569](https://github.com/fastly/terraform-provider-fastly/pull/569) ## 1.1.4 (April 28, 2022) ENHANCEMENTS: -* Avoid unnecessary API calls for `director` block. [#567](https://github.com/fastly/terraform-provider-fastly/pull/567) +- Avoid unnecessary API calls for `director` block. [#567](https://github.com/fastly/terraform-provider-fastly/pull/567) BUG FIXES: -* Fix `fastly_tls_configuration` pagination logic [#565](https://github.com/fastly/terraform-provider-fastly/pull/565) +- Fix `fastly_tls_configuration` pagination logic [#565](https://github.com/fastly/terraform-provider-fastly/pull/565) ## 1.1.3 (April 25, 2022) ENHANCEMENTS: -* The `backend` block is no longer required within the `fastly_service_compute` resource [#563](https://github.com/fastly/terraform-provider-fastly/pull/563) +- The `backend` block is no longer required within the `fastly_service_compute` resource [#563](https://github.com/fastly/terraform-provider-fastly/pull/563) DOCUMENTATION: -* Clarify key/cert update flow [#561](https://github.com/fastly/terraform-provider-fastly/pull/562) -* Typo in `fastly_tls_certificate` resource [#560](https://github.com/fastly/terraform-provider-fastly/pull/560) -* Typo in `manage_entries` attribute [#559](https://github.com/fastly/terraform-provider-fastly/pull/559) +- Clarify key/cert update flow [#561](https://github.com/fastly/terraform-provider-fastly/pull/562) +- Typo in `fastly_tls_certificate` resource [#560](https://github.com/fastly/terraform-provider-fastly/pull/560) +- Typo in `manage_entries` attribute [#559](https://github.com/fastly/terraform-provider-fastly/pull/559) ## 1.1.2 (March 4, 2022) BUG FIXES: -* Add Terraform provider version to User-Agent [#553](https://github.com/fastly/terraform-provider-fastly/pull/553) +- Add Terraform provider version to User-Agent [#553](https://github.com/fastly/terraform-provider-fastly/pull/553) ## 1.1.1 (March 3, 2022) DOCUMENTATION: -* Add 1.0.0 Migration Guide to Documentation [#551](https://github.com/fastly/terraform-provider-fastly/pull/551) +- Add 1.0.0 Migration Guide to Documentation [#551](https://github.com/fastly/terraform-provider-fastly/pull/551) ## 1.1.0 (February 23, 2022) ENHANCEMENTS: -* Add `fastly_datacenters` data resource [#540](https://github.com/fastly/terraform-provider-fastly/pull/540) +- Add `fastly_datacenters` data resource [#540](https://github.com/fastly/terraform-provider-fastly/pull/540) BUG FIXES: -* Support removing backends from a `director` [#547](https://github.com/fastly/terraform-provider-fastly/pull/547) +- Support removing backends from a `director` [#547](https://github.com/fastly/terraform-provider-fastly/pull/547) DOCUMENTATION: -* Fix `fastly-s3` hyperlinks [#542](https://github.com/fastly/terraform-provider-fastly/pull/542) +- Fix `fastly-s3` hyperlinks [#542](https://github.com/fastly/terraform-provider-fastly/pull/542) ## 1.0.0 (February 8, 2022) ENHANCEMENTS: -* Changes for v1.0.0 [#534](https://github.com/fastly/terraform-provider-fastly/pull/534) +- Changes for v1.0.0 [#534](https://github.com/fastly/terraform-provider-fastly/pull/534) BUG FIXES: -* Fix the example usage in docs/index.md [#533](https://github.com/fastly/terraform-provider-fastly/pull/533) -* Support Terraform CLI 1.1.4 [#536](https://github.com/fastly/terraform-provider-fastly/pull/536) +- Fix the example usage in docs/index.md [#533](https://github.com/fastly/terraform-provider-fastly/pull/533) +- Support Terraform CLI 1.1.4 [#536](https://github.com/fastly/terraform-provider-fastly/pull/536) ## 0.41.0 (January 21, 2022) ENHANCEMENTS: -* Add activate attribute support for `fastly_service_waf_configuration` resource [#530](https://github.com/fastly/terraform-provider-fastly/pull/530) -* Support updating TLS subscriptions in pending state [#528](https://github.com/fastly/terraform-provider-fastly/pull/528) +- Add activate attribute support for `fastly_service_waf_configuration` resource [#530](https://github.com/fastly/terraform-provider-fastly/pull/530) +- Support updating TLS subscriptions in pending state [#528](https://github.com/fastly/terraform-provider-fastly/pull/528) DOCUMENTATION: -* Revamp fastly_tls_subscription examples [#527](https://github.com/fastly/terraform-provider-fastly/pull/527) +- Revamp fastly_tls_subscription examples [#527](https://github.com/fastly/terraform-provider-fastly/pull/527) ## 0.40.0 (January 13, 2022) ENHANCEMENTS: -* Bump go-fastly to v6.0.0 [#525](https://github.com/fastly/terraform-provider-fastly/pull/525) -* Add new `modsec_rule_ids` filter to `fastly_waf_rules` [#521](https://github.com/fastly/terraform-provider-fastly/pull/521) -* Force creation of new condition if type changed [#518](https://github.com/fastly/terraform-provider-fastly/pull/518) +- Bump go-fastly to v6.0.0 [#525](https://github.com/fastly/terraform-provider-fastly/pull/525) +- Add new `modsec_rule_ids` filter to `fastly_waf_rules` [#521](https://github.com/fastly/terraform-provider-fastly/pull/521) +- Force creation of new condition if type changed [#518](https://github.com/fastly/terraform-provider-fastly/pull/518) DOCUMENTATION: -* Simplify example in `fastly_tls_subscription` [#516](https://github.com/fastly/terraform-provider-fastly/pull/516) -* Update VCL snippet type description [#519](https://github.com/fastly/terraform-provider-fastly/pull/519) +- Simplify example in `fastly_tls_subscription` [#516](https://github.com/fastly/terraform-provider-fastly/pull/516) +- Update VCL snippet type description [#519](https://github.com/fastly/terraform-provider-fastly/pull/519) ## 0.39.0 (December 8, 2021) ENHANCEMENTS: -* Bump go-fastly to v5.1.3 [#511](https://github.com/fastly/terraform-provider-fastly/pull/511) -* Expose `certificate_id` read-only attribute from `fastly_tls_subscription` [#506](https://github.com/fastly/terraform-provider-fastly/pull/506) -* Dynamically generate provider version [#500](https://github.com/fastly/terraform-provider-fastly/pull/500) +- Bump go-fastly to v5.1.3 [#511](https://github.com/fastly/terraform-provider-fastly/pull/511) +- Expose `certificate_id` read-only attribute from `fastly_tls_subscription` [#506](https://github.com/fastly/terraform-provider-fastly/pull/506) +- Dynamically generate provider version [#500](https://github.com/fastly/terraform-provider-fastly/pull/500) BUG FIXES: -* Fix constants formatting [#504](https://github.com/fastly/terraform-provider-fastly/pull/504) -* Remove `-i` flag from `go test` [#503](https://github.com/fastly/terraform-provider-fastly/pull/503) +- Fix constants formatting [#504](https://github.com/fastly/terraform-provider-fastly/pull/504) +- Remove `-i` flag from `go test` [#503](https://github.com/fastly/terraform-provider-fastly/pull/503) DOCUMENTATION: -* Consistent description for attributes using constants [#502](https://github.com/fastly/terraform-provider-fastly/pull/502) -* Update `RELEASE.md` [#499](https://github.com/fastly/terraform-provider-fastly/pull/499) +- Consistent description for attributes using constants [#502](https://github.com/fastly/terraform-provider-fastly/pull/502) +- Update `RELEASE.md` [#499](https://github.com/fastly/terraform-provider-fastly/pull/499) ## 0.38.0 (November 4, 2021) BUG FIXES: -* Do not send 0 `subnet` value unless explicitly set [#496](https://github.com/fastly/terraform-provider-fastly/pull/496) +- Do not send 0 `subnet` value unless explicitly set [#496](https://github.com/fastly/terraform-provider-fastly/pull/496) DOCUMENTATION: -* Utilise `codefile` and `tffile` functions from tfplugindocs [#497](https://github.com/fastly/terraform-provider-fastly/pull/497) +- Utilise `codefile` and `tffile` functions from tfplugindocs [#497](https://github.com/fastly/terraform-provider-fastly/pull/497) ## 0.37.0 (November 1, 2021) BUG FIXES: -* Ignore 404 on GetPackage when importing wasm service [#487](https://github.com/fastly/terraform-provider-fastly/pull/487) -* Properly set `IdleConnTimeout` to prevent resource exhaustion on tests [#491](https://github.com/fastly/terraform-provider-fastly/pull/491) +- Ignore 404 on GetPackage when importing wasm service [#487](https://github.com/fastly/terraform-provider-fastly/pull/487) +- Properly set `IdleConnTimeout` to prevent resource exhaustion on tests [#491](https://github.com/fastly/terraform-provider-fastly/pull/491) ENHANCEMENTS: -* Remove TLS subscriptions that 404 from state [#479](https://github.com/fastly/terraform-provider-fastly/pull/479) -* Override `Transport` to enable keepalive and add new `force_http2` provider option [#485](https://github.com/fastly/terraform-provider-fastly/pull/485) -* Rename GNUmakefile to Makefile [#483](https://github.com/fastly/terraform-provider-fastly/pull/483) -* Only update service `name` and `comment` if `activate` is true [#481](https://github.com/fastly/terraform-provider-fastly/pull/481) -* Add `use_tls` attribute for Splunk logging [#482](https://github.com/fastly/terraform-provider-fastly/pull/482) +- Remove TLS subscriptions that 404 from state [#479](https://github.com/fastly/terraform-provider-fastly/pull/479) +- Override `Transport` to enable keepalive and add new `force_http2` provider option [#485](https://github.com/fastly/terraform-provider-fastly/pull/485) +- Rename GNUmakefile to Makefile [#483](https://github.com/fastly/terraform-provider-fastly/pull/483) +- Only update service `name` and `comment` if `activate` is true [#481](https://github.com/fastly/terraform-provider-fastly/pull/481) +- Add `use_tls` attribute for Splunk logging [#482](https://github.com/fastly/terraform-provider-fastly/pull/482) DOCUMENTATION: -* Convert `index.md` to template to inject provider version [#492](https://github.com/fastly/terraform-provider-fastly/pull/492) +- Convert `index.md` to template to inject provider version [#492](https://github.com/fastly/terraform-provider-fastly/pull/492) ## 0.36.0 (September 27, 2021) BUG FIXES: -* Bump go-fastly to v5 to fix API client bugs [#477](https://github.com/fastly/terraform-provider-fastly/pull/477) -* Update `terraform-json` dependency so test suite runs successfully with Terraform v1 [#474](https://github.com/fastly/terraform-provider-fastly/pull/474) +- Bump go-fastly to v5 to fix API client bugs [#477](https://github.com/fastly/terraform-provider-fastly/pull/477) +- Update `terraform-json` dependency so test suite runs successfully with Terraform v1 [#474](https://github.com/fastly/terraform-provider-fastly/pull/474) ENHANCEMENTS: -* Add support for `stale-if-error` [#475](https://github.com/fastly/terraform-provider-fastly/pull/475) +- Add support for `stale-if-error` [#475](https://github.com/fastly/terraform-provider-fastly/pull/475) DOCUMENTATION: -* Clarify edge private dictionary usage [#472](https://github.com/fastly/terraform-provider-fastly/pull/472) -* Correct ACL typos [#473](https://github.com/fastly/terraform-provider-fastly/pull/473) +- Clarify edge private dictionary usage [#472](https://github.com/fastly/terraform-provider-fastly/pull/472) +- Correct ACL typos [#473](https://github.com/fastly/terraform-provider-fastly/pull/473) ## 0.35.0 (September 15, 2021) ENHANCEMENTS: -* Make `backend` block optional [#457](https://github.com/fastly/terraform-provider-fastly/pull/457) -* Audit `sensitive` attributes [#458](https://github.com/fastly/terraform-provider-fastly/pull/458) -* Tests should not error when no backends defined (now considered as warning) [#462](https://github.com/fastly/terraform-provider-fastly/pull/462) -* Refactor service attribute handlers into CRUD-style functions [#463](https://github.com/fastly/terraform-provider-fastly/pull/463) -* Change to accept multi-pem blocks [#469](https://github.com/fastly/terraform-provider-fastly/pull/469) -* Bump go-fastly version [#467](https://github.com/fastly/terraform-provider-fastly/pull/467) +- Make `backend` block optional [#457](https://github.com/fastly/terraform-provider-fastly/pull/457) +- Audit `sensitive` attributes [#458](https://github.com/fastly/terraform-provider-fastly/pull/458) +- Tests should not error when no backends defined (now considered as warning) [#462](https://github.com/fastly/terraform-provider-fastly/pull/462) +- Refactor service attribute handlers into CRUD-style functions [#463](https://github.com/fastly/terraform-provider-fastly/pull/463) +- Change to accept multi-pem blocks [#469](https://github.com/fastly/terraform-provider-fastly/pull/469) +- Bump go-fastly version [#467](https://github.com/fastly/terraform-provider-fastly/pull/467) BUG FIXES: -* Fix `fastly_service_waf_configuration` not updating `rule` attributes correctly [#464](https://github.com/fastly/terraform-provider-fastly/pull/464) -* Correctly update `version_comment` [#466](https://github.com/fastly/terraform-provider-fastly/pull/466) +- Fix `fastly_service_waf_configuration` not updating `rule` attributes correctly [#464](https://github.com/fastly/terraform-provider-fastly/pull/464) +- Correctly update `version_comment` [#466](https://github.com/fastly/terraform-provider-fastly/pull/466) DEPRECATED: -* Deprecate `geo_headers` attribute [#456](https://github.com/fastly/terraform-provider-fastly/pull/456) +- Deprecate `geo_headers` attribute [#456](https://github.com/fastly/terraform-provider-fastly/pull/456) ## 0.34.0 (August 9, 2021) ENHANCEMENTS: -* Avoid unnecessary state refresh when importing (and enable service version selection) [#448](https://github.com/fastly/terraform-provider-fastly/pull/448) +- Avoid unnecessary state refresh when importing (and enable service version selection) [#448](https://github.com/fastly/terraform-provider-fastly/pull/448) BUG FIXES: -* Fix TLS Subscription updates not triggering update to managed DNS Challenges [#453](https://github.com/fastly/terraform-provider-fastly/pull/453) +- Fix TLS Subscription updates not triggering update to managed DNS Challenges [#453](https://github.com/fastly/terraform-provider-fastly/pull/453) ## 0.33.0 (July 16, 2021) ENHANCEMENTS: -* Upgrade to Go 1.16 to allow `darwin/arm64` builds [#447](https://github.com/fastly/terraform-provider-fastly/pull/447) -* Replace `ActivateVCL` call with `Main` field on `CreateVCL` [#446](https://github.com/fastly/terraform-provider-fastly/pull/446) -* Add limitations for `write_only` dictionaries [#445](https://github.com/fastly/terraform-provider-fastly/pull/445) -* Replace `StateFunc` with `ValidateDiagFunc` [#439](https://github.com/fastly/terraform-provider-fastly/pull/439) +- Upgrade to Go 1.16 to allow `darwin/arm64` builds [#447](https://github.com/fastly/terraform-provider-fastly/pull/447) +- Replace `ActivateVCL` call with `Main` field on `CreateVCL` [#446](https://github.com/fastly/terraform-provider-fastly/pull/446) +- Add limitations for `write_only` dictionaries [#445](https://github.com/fastly/terraform-provider-fastly/pull/445) +- Replace `StateFunc` with `ValidateDiagFunc` [#439](https://github.com/fastly/terraform-provider-fastly/pull/439) BUG FIXES: -* Don't use `ParallelTest` for `no_auth` data source [#449](https://github.com/fastly/terraform-provider-fastly/pull/449) -* Introduce `no_auth` provider option [#444](https://github.com/fastly/terraform-provider-fastly/pull/444) -* Suppress gzip diff unless fields are explicitly set [#441](https://github.com/fastly/terraform-provider-fastly/pull/441) -* Fix parsing of log-levels by removing date/time prefix [#440](https://github.com/fastly/terraform-provider-fastly/pull/440) -* Fix bug with `fastly_tls_subscription` multi-SAN challenge [#435](https://github.com/fastly/terraform-provider-fastly/pull/435) -* Output variable refresh bug [#388](https://github.com/fastly/terraform-provider-fastly/pull/388) -* Use correct 'shield' value [#437](https://github.com/fastly/terraform-provider-fastly/pull/437) -* Fix `default_host` not being removed [#434](https://github.com/fastly/terraform-provider-fastly/pull/434) -* In `fastly_waf_rules` data source, request rule revisions from API [#428](https://github.com/fastly/terraform-provider-fastly/pull/428) +- Don't use `ParallelTest` for `no_auth` data source [#449](https://github.com/fastly/terraform-provider-fastly/pull/449) +- Introduce `no_auth` provider option [#444](https://github.com/fastly/terraform-provider-fastly/pull/444) +- Suppress gzip diff unless fields are explicitly set [#441](https://github.com/fastly/terraform-provider-fastly/pull/441) +- Fix parsing of log-levels by removing date/time prefix [#440](https://github.com/fastly/terraform-provider-fastly/pull/440) +- Fix bug with `fastly_tls_subscription` multi-SAN challenge [#435](https://github.com/fastly/terraform-provider-fastly/pull/435) +- Output variable refresh bug [#388](https://github.com/fastly/terraform-provider-fastly/pull/388) +- Use correct 'shield' value [#437](https://github.com/fastly/terraform-provider-fastly/pull/437) +- Fix `default_host` not being removed [#434](https://github.com/fastly/terraform-provider-fastly/pull/434) +- In `fastly_waf_rules` data source, request rule revisions from API [#428](https://github.com/fastly/terraform-provider-fastly/pull/428) ## 0.32.0 (June 17, 2021) ENHANCEMENTS: -* Return 404 for non-existent service instead of a low-level nil entry error [#422](https://github.com/fastly/terraform-provider-fastly/pull/422) +- Return 404 for non-existent service instead of a low-level nil entry error [#422](https://github.com/fastly/terraform-provider-fastly/pull/422) BUG FIXES: -* Fix runtime panic in request-settings caused by incorrect type cast [#424](https://github.com/fastly/terraform-provider-fastly/pull/424) -* When `activate=true`, always read and clone from the active version [#423](https://github.com/fastly/terraform-provider-fastly/pull/423) +- Fix runtime panic in request-settings caused by incorrect type cast [#424](https://github.com/fastly/terraform-provider-fastly/pull/424) +- When `activate=true`, always read and clone from the active version [#423](https://github.com/fastly/terraform-provider-fastly/pull/423) ## 0.31.0 (June 14, 2021) ENHANCEMENTS: -* Add support for ACL and extra redundancy options in S3 logging block [#417](https://github.com/fastly/terraform-provider-fastly/pull/417) -* Update default initial value for health check [#414](https://github.com/fastly/terraform-provider-fastly/pull/414) +- Add support for ACL and extra redundancy options in S3 logging block [#417](https://github.com/fastly/terraform-provider-fastly/pull/417) +- Update default initial value for health check [#414](https://github.com/fastly/terraform-provider-fastly/pull/414) BUG FIXES: -* Only set `cloned_version` after the version has been successfully validated [#418](https://github.com/fastly/terraform-provider-fastly/pull/418) +- Only set `cloned_version` after the version has been successfully validated [#418](https://github.com/fastly/terraform-provider-fastly/pull/418) ## 0.30.0 (May 12, 2021) ENHANCEMENTS: -* Add director support for compute resource [#410](https://github.com/fastly/terraform-provider-fastly/pull/410) +- Add director support for compute resource [#410](https://github.com/fastly/terraform-provider-fastly/pull/410) ## 0.29.1 (May 7, 2021) BUG FIXES: -* Fix Header resource key names [#407](https://github.com/fastly/terraform-provider-fastly/pull/407) +- Fix Header resource key names [#407](https://github.com/fastly/terraform-provider-fastly/pull/407) ## 0.29.0 (May 4, 2021) ENHANCEMENTS: -* Add support for `file_max_bytes` configuration for Azure logging endpoint [#398](https://github.com/fastly/terraform-provider-fastly/pull/398) -* Support usage of IAM role in S3 and Kinesis logging endpoints [#403](https://github.com/fastly/terraform-provider-fastly/pull/403) -* Add support for `compression_codec` to logging file sink endpoints [#402](https://github.com/fastly/terraform-provider-fastly/pull/402) +- Add support for `file_max_bytes` configuration for Azure logging endpoint [#398](https://github.com/fastly/terraform-provider-fastly/pull/398) +- Support usage of IAM role in S3 and Kinesis logging endpoints [#403](https://github.com/fastly/terraform-provider-fastly/pull/403) +- Add support for `compression_codec` to logging file sink endpoints [#402](https://github.com/fastly/terraform-provider-fastly/pull/402) DOCUMENTATION: -* Update debug mode instructions for Terraform 0.12.x [#405](https://github.com/fastly/terraform-provider-fastly/pull/405) +- Update debug mode instructions for Terraform 0.12.x [#405](https://github.com/fastly/terraform-provider-fastly/pull/405) OTHER: -* Replace `master` with `main`. [#404](https://github.com/fastly/terraform-provider-fastly/pull/404) +- Replace `master` with `main`. [#404](https://github.com/fastly/terraform-provider-fastly/pull/404) ## 0.28.2 (April 9, 2021) BUG FIXES: -* Catch case where state from older version could be unexpected [#396](https://github.com/fastly/terraform-provider-fastly/pull/396) +- Catch case where state from older version could be unexpected [#396](https://github.com/fastly/terraform-provider-fastly/pull/396) ## 0.28.1 (April 8, 2021) BUG FIXES: -* Clone from `cloned_version` not `active_version` [#390](https://github.com/fastly/terraform-provider-fastly/pull/390) +- Clone from `cloned_version` not `active_version` [#390](https://github.com/fastly/terraform-provider-fastly/pull/390) ## 0.28.0 (April 6, 2021) ENHANCEMENTS: -* PATCH endpoint for TLS subscriptions [#370](https://github.com/fastly/terraform-provider-fastly/pull/370) -* Ensure passwords are marked as sensitive [#389](https://github.com/fastly/terraform-provider-fastly/pull/389) -* Add debug mode [#386](https://github.com/fastly/terraform-provider-fastly/pull/386) +- PATCH endpoint for TLS subscriptions [#370](https://github.com/fastly/terraform-provider-fastly/pull/370) +- Ensure passwords are marked as sensitive [#389](https://github.com/fastly/terraform-provider-fastly/pull/389) +- Add debug mode [#386](https://github.com/fastly/terraform-provider-fastly/pull/386) BUG FIXES: -* Fix custom TLS configuration incorrectly omitting DNS records data [#392](https://github.com/fastly/terraform-provider-fastly/pull/392) -* Fix backend diff output incorrectly showing multiple resources being updated [#387](https://github.com/fastly/terraform-provider-fastly/pull/387) +- Fix custom TLS configuration incorrectly omitting DNS records data [#392](https://github.com/fastly/terraform-provider-fastly/pull/392) +- Fix backend diff output incorrectly showing multiple resources being updated [#387](https://github.com/fastly/terraform-provider-fastly/pull/387) DOCUMENTATION: -* Terraform 0.12+ no longer uses interpolation syntax for non-constant expressions [#384](https://github.com/fastly/terraform-provider-fastly/pull/384) +- Terraform 0.12+ no longer uses interpolation syntax for non-constant expressions [#384](https://github.com/fastly/terraform-provider-fastly/pull/384) ## 0.27.0 (March 16, 2021) ENHANCEMENTS: -* Terraform Plugin SDK Upgrade [#379](https://github.com/fastly/terraform-provider-fastly/pull/379) -* Automate developer override for testing locally built provider [#382](https://github.com/fastly/terraform-provider-fastly/pull/382) +- Terraform Plugin SDK Upgrade [#379](https://github.com/fastly/terraform-provider-fastly/pull/379) +- Automate developer override for testing locally built provider [#382](https://github.com/fastly/terraform-provider-fastly/pull/382) ## 0.26.0 (March 5, 2021) ENHANCEMENTS: -* Better sensitive value handling in Google pub/sub logging provider [#376](https://github.com/fastly/terraform-provider-fastly/pull/376) +- Better sensitive value handling in Google pub/sub logging provider [#376](https://github.com/fastly/terraform-provider-fastly/pull/376) BUG FIXES: -* Fix panic caused by incorrect type assert [#377](https://github.com/fastly/terraform-provider-fastly/pull/377) +- Fix panic caused by incorrect type assert [#377](https://github.com/fastly/terraform-provider-fastly/pull/377) ## 0.25.0 (February 26, 2021) ENHANCEMENTS: -* Add TLSCLientCert and TLSClientKey options for splunk logging ([#353](https://github.com/fastly/terraform-provider-fastly/pull/353)) -* Add Dictionary to Compute service ([#361](https://github.com/fastly/terraform-provider-fastly/pull/361)) -* Resources for Custom TLS and Platform TLS products ([#364](https://github.com/fastly/terraform-provider-fastly/pull/364)) -* Managed TLS Subscriptions Resources ([#365](https://github.com/fastly/terraform-provider-fastly/pull/365)) -* Ensure schema.Set uses custom SetDiff algorithm ([#366](https://github.com/fastly/terraform-provider-fastly/pull/366)) -* Test speedup ([#371](https://github.com/fastly/terraform-provider-fastly/pull/371)) -* Add service test sweeper ([#373](https://github.com/fastly/terraform-provider-fastly/pull/373)) -* Add force_destroy flag to ACLs and Dicts to allow deleting non-empty lists ([#372](https://github.com/fastly/terraform-provider-fastly/pull/372)) +- Add TLSCLientCert and TLSClientKey options for splunk logging ([#353](https://github.com/fastly/terraform-provider-fastly/pull/353)) +- Add Dictionary to Compute service ([#361](https://github.com/fastly/terraform-provider-fastly/pull/361)) +- Resources for Custom TLS and Platform TLS products ([#364](https://github.com/fastly/terraform-provider-fastly/pull/364)) +- Managed TLS Subscriptions Resources ([#365](https://github.com/fastly/terraform-provider-fastly/pull/365)) +- Ensure schema.Set uses custom SetDiff algorithm ([#366](https://github.com/fastly/terraform-provider-fastly/pull/366)) +- Test speedup ([#371](https://github.com/fastly/terraform-provider-fastly/pull/371)) +- Add service test sweeper ([#373](https://github.com/fastly/terraform-provider-fastly/pull/373)) +- Add force_destroy flag to ACLs and Dicts to allow deleting non-empty lists ([#372](https://github.com/fastly/terraform-provider-fastly/pull/372)) ## 0.24.0 (February 4, 2021) ENHANCEMENTS: -* CI: check if docs need to be regenerated ([#362](https://github.com/fastly/terraform-provider-fastly/pull/362)) -* Update go-fastly dependency to 3.0.0 ([#359](https://github.com/fastly/terraform-provider-fastly/pull/359)) +- CI: check if docs need to be regenerated ([#362](https://github.com/fastly/terraform-provider-fastly/pull/362)) +- Update go-fastly dependency to 3.0.0 ([#359](https://github.com/fastly/terraform-provider-fastly/pull/359)) BUG FIXES: -* Replace old doc generation process with new tfplugindocs tool ([#356](https://github.com/fastly/terraform-provider-fastly/pull/356)) +- Replace old doc generation process with new tfplugindocs tool ([#356](https://github.com/fastly/terraform-provider-fastly/pull/356)) ## 0.23.0 (January 14, 2021) ENHANCEMENT: -* Add support for kafka endpoints with sasl options ([#342](https://github.com/fastly/terraform-provider-fastly/pull/342)) +- Add support for kafka endpoints with sasl options ([#342](https://github.com/fastly/terraform-provider-fastly/pull/342)) ## 0.22.0 (January 08, 2021) ENHANCEMENT: -* Add Kinesis logging support ([#351](https://github.com/fastly/terraform-provider-fastly/pull/351)) +- Add Kinesis logging support ([#351](https://github.com/fastly/terraform-provider-fastly/pull/351)) ## 0.21.3 (January 04, 2021) NOTES: -* provider: Change version of go-fastly to v2.0.0 ([#341](https://github.com/fastly/terraform-provider-fastly/pull/341)) +- provider: Change version of go-fastly to v2.0.0 ([#341](https://github.com/fastly/terraform-provider-fastly/pull/341)) ## 0.21.2 (December 16, 2020) BUG FIXES: -* resource/fastly_service_*: Ensure we still refresh remote state when `activate` is set to `false` ([#345](https://github.com/fastly/terraform-provider-fastly/pull/345)) +- resource/fastly_service\_\*: Ensure we still refresh remote state when `activate` is set to `false` ([#345](https://github.com/fastly/terraform-provider-fastly/pull/345)) ## 0.21.1 (October 15, 2020) BUG FIXES: -* resource/fastly_service_waf_configuration: Guard `rule_exclusion` read to ensure API is only called if used. ([#330](https://github.com/fastly/terraform-provider-fastly/pull/330)) +- resource/fastly_service_waf_configuration: Guard `rule_exclusion` read to ensure API is only called if used. ([#330](https://github.com/fastly/terraform-provider-fastly/pull/330)) ## 0.21.0 (October 14, 2020) ENHANCEMENTS: -* resource/fastly_service_waf_configuration: Add `rule_exclusion` block which allows rules to be excluded from the WAF configuration. ([#328](https://github.com/fastly/terraform-provider-fastly/pull/328)) +- resource/fastly_service_waf_configuration: Add `rule_exclusion` block which allows rules to be excluded from the WAF configuration. ([#328](https://github.com/fastly/terraform-provider-fastly/pull/328)) NOTES: -* provider: Change version of go-fastly to v2.0.0-alpha.1 ([#327](https://github.com/fastly/terraform-provider-fastly/pull/327)) +- provider: Change version of go-fastly to v2.0.0-alpha.1 ([#327](https://github.com/fastly/terraform-provider-fastly/pull/327)) ## 0.20.4 (September 30, 2020) NOTES: -* resource/fastly_service_acl_entries_v1: Change ACL documentation examples to use `for_each` attributes instead of `for` expressions. ([#324](https://github.com/fastly/terraform-provider-fastly/pull/324)) -* resource/fastly_service_dictionary_items_v1: Change Dictionary documentation examples to use `for_each` attributes instead of `for` expressions. ([#324](https://github.com/fastly/terraform-provider-fastly/pull/324)) -* resource/fastly_service_dynamic_snippet_content_v1: Change Dynamic Snippet documentation examples to use `for_each` attributes instead of `for` expressions. ([#324](https://github.com/fastly/terraform-provider-fastly/pull/324)) -* resource/fastly_service_waf_configuration: Correctly mark `allowed_request_content_type_charset` as optional in documentation. ([#324](https://github.com/fastly/terraform-provider-fastly/pull/322)) +- resource/fastly_service_acl_entries_v1: Change ACL documentation examples to use `for_each` attributes instead of `for` expressions. ([#324](https://github.com/fastly/terraform-provider-fastly/pull/324)) +- resource/fastly_service_dictionary_items_v1: Change Dictionary documentation examples to use `for_each` attributes instead of `for` expressions. ([#324](https://github.com/fastly/terraform-provider-fastly/pull/324)) +- resource/fastly_service_dynamic_snippet_content_v1: Change Dynamic Snippet documentation examples to use `for_each` attributes instead of `for` expressions. ([#324](https://github.com/fastly/terraform-provider-fastly/pull/324)) +- resource/fastly_service_waf_configuration: Correctly mark `allowed_request_content_type_charset` as optional in documentation. ([#324](https://github.com/fastly/terraform-provider-fastly/pull/322)) ## 0.20.3 (September 23, 2020) BUG FIXES: -* resource/fastly_service_v1/bigquerylogging: Ensure BigQuery logging `email`, `secret_key` fields are required and not optional. ([#319](https://github.com/fastly/terraform-provider-fastly/pull/319)) +- resource/fastly_service_v1/bigquerylogging: Ensure BigQuery logging `email`, `secret_key` fields are required and not optional. ([#319](https://github.com/fastly/terraform-provider-fastly/pull/319)) ## 0.20.2 (September 22, 2020) BUG FIXES: -* resource/fastly_service_v1: Improve performance of service read and delete logic. ([#311](https://github.com/fastly/terraform-provider-fastly/pull/311)) -* resource/fastly_service_v1/logging_scalyr: Ensure `token` field is `sensitive` and thus hidden from plan. ([#310](https://github.com/fastly/terraform-provider-fastly/pull/310)) +- resource/fastly_service_v1: Improve performance of service read and delete logic. ([#311](https://github.com/fastly/terraform-provider-fastly/pull/311)) +- resource/fastly_service_v1/logging_scalyr: Ensure `token` field is `sensitive` and thus hidden from plan. ([#310](https://github.com/fastly/terraform-provider-fastly/pull/310)) NOTES: -* resource/fastly_service_v1/s3logging: Document `server_side_encryption` and `server_side_encryption_kms_key_id` fields. ([#317](https://github.com/fastly/terraform-provider-fastly/pull/310)) +- resource/fastly_service_v1/s3logging: Document `server_side_encryption` and `server_side_encryption_kms_key_id` fields. ([#317](https://github.com/fastly/terraform-provider-fastly/pull/310)) ## 0.20.1 (September 2, 2020) BUG FIXES: -* resource/fastly_service_v1/backend: Ensure changes to backend fields result in updates instead of destroy and recreate. ([#304](https://github.com/fastly/terraform-provider-fastly/pull/304)) -* resource/fastly_service_v1/logging_*: Fix logging acceptance tests by ensuring formatVersion in VCLLoggingAttributes is a *uint. ([#307](https://github.com/fastly/terraform-provider-fastly/pull/307)) +- resource/fastly_service_v1/backend: Ensure changes to backend fields result in updates instead of destroy and recreate. ([#304](https://github.com/fastly/terraform-provider-fastly/pull/304)) +- resource/fastly_service_v1/logging\_\*: Fix logging acceptance tests by ensuring formatVersion in VCLLoggingAttributes is a \*uint. ([#307](https://github.com/fastly/terraform-provider-fastly/pull/307)) NOTES: -* provider: Add a [CONTRIBUTING.md](https://github.com/fastly/terraform-provider-fastly/blob/main/CONTRIBUTING.md) containing contributing guidelines and documentation. ([#305](https://github.com/fastly/terraform-provider-fastly/pull/307)) +- provider: Add a [CONTRIBUTING.md](https://github.com/fastly/terraform-provider-fastly/blob/main/CONTRIBUTING.md) containing contributing guidelines and documentation. ([#305](https://github.com/fastly/terraform-provider-fastly/pull/307)) ## 0.20.0 (August 10, 2020) FEATURES: -* **New Data Source:** `fastly_waf_rules` Use this data source to fetch Fastly WAF rules and pass to a `fastly_service_waf_configuration`. ([#291](https://github.com/fastly/terraform-provider-fastly/pull/291)) -* **New Resource:** `fastly_service_waf_configuration` Provides a Web Application Firewall configuration and rules that can be applied to a service. ([#291](https://github.com/fastly/terraform-provider-fastly/pull/291)) +- **New Data Source:** `fastly_waf_rules` Use this data source to fetch Fastly WAF rules and pass to a `fastly_service_waf_configuration`. ([#291](https://github.com/fastly/terraform-provider-fastly/pull/291)) +- **New Resource:** `fastly_service_waf_configuration` Provides a Web Application Firewall configuration and rules that can be applied to a service. ([#291](https://github.com/fastly/terraform-provider-fastly/pull/291)) ENHANCEMENTS: -* resource/fastly_service_v1/waf: Add `waf` block to enable and configure a Web Application Firewall on a service. ([#285](https://github.com/fastly/terraform-provider-fastly/pull/285)) +- resource/fastly_service_v1/waf: Add `waf` block to enable and configure a Web Application Firewall on a service. ([#285](https://github.com/fastly/terraform-provider-fastly/pull/285)) ## 0.19.3 (July 30, 2020) NOTES: -* provider: Initial release to the [Terraform Registry](https://registry.terraform.io/) +- provider: Initial release to the [Terraform Registry](https://registry.terraform.io/) ## 0.19.2 (July 22, 2020) NOTES: -* resource/fastly_service_compute: Fixes resource references in website documentation ([#296](https://github.com/fastly/terraform-provider-fastly/pull/296)) +- resource/fastly_service_compute: Fixes resource references in website documentation ([#296](https://github.com/fastly/terraform-provider-fastly/pull/296)) ## 0.19.1 (July 22, 2020) NOTES: -* resource/fastly_service_compute: Update website documentation for compute resource to include correct terminology ([#294](https://github.com/fastly/terraform-provider-fastly/pull/294)) +- resource/fastly_service_compute: Update website documentation for compute resource to include correct terminology ([#294](https://github.com/fastly/terraform-provider-fastly/pull/294)) ## 0.19.0 (July 22, 2020) FEATURES: -* **New Resource:** `fastly_service_compute` ([#281](https://github.com/fastly/terraform-provider-fastly/pull/281)) +- **New Resource:** `fastly_service_compute` ([#281](https://github.com/fastly/terraform-provider-fastly/pull/281)) ENHANCEMENTS: -* resource/fastly_service_compute: Add support for all logging providers ([#285](https://github.com/fastly/terraform-provider-fastly/pull/285)) -* resource/fastly_service_compute: Add support for importing compute services ([#286](https://github.com/fastly/terraform-provider-fastly/pull/286)) -* resource/fastly_service_v1/ftp_logging: Add support for `message_type` field to FTP logging endpoint ([#288](https://github.com/fastly/terraform-provider-fastly/pull/288)) +- resource/fastly_service_compute: Add support for all logging providers ([#285](https://github.com/fastly/terraform-provider-fastly/pull/285)) +- resource/fastly_service_compute: Add support for importing compute services ([#286](https://github.com/fastly/terraform-provider-fastly/pull/286)) +- resource/fastly_service_v1/ftp_logging: Add support for `message_type` field to FTP logging endpoint ([#288](https://github.com/fastly/terraform-provider-fastly/pull/288)) BUG FIXES: -* resource/fastly_service_v1/s3logging: Fix error check which was causing a runtime panic with s3logging ([#290](https://github.com/fastly/terraform-provider-fastly/pull/290)) +- resource/fastly_service_v1/s3logging: Fix error check which was causing a runtime panic with s3logging ([#290](https://github.com/fastly/terraform-provider-fastly/pull/290)) NOTES: -* provider: Update `go-fastly` client to v1.16.2 ([#288](https://github.com/fastly/terraform-provider-fastly/pull/288)) -* provider: Refactor documentation templating and compilation ([#283](https://github.com/fastly/terraform-provider-fastly/pull/283)) +- provider: Update `go-fastly` client to v1.16.2 ([#288](https://github.com/fastly/terraform-provider-fastly/pull/288)) +- provider: Refactor documentation templating and compilation ([#283](https://github.com/fastly/terraform-provider-fastly/pull/283)) ## 0.18.0 (July 01, 2020) ENHANCEMENTS: -* resource/fastly_service_v1/logging_digitalocean: Add DigitalOcean Spaces logging support ([#276](https://github.com/fastly/terraform-provider-fastly/pull/276)) -* resource/fastly_service_v1/logging_cloudfiles: Add Rackspace Cloud Files logging support ([#275](https://github.com/fastly/terraform-provider-fastly/pull/275)) -* resource/fastly_service_v1/logging_openstack: Add OpenStack logging support ([#273](https://github.com/fastly/terraform-provider-fastly/pull/274)) -* resource/fastly_service_v1/logging_logshuttle: Add Log Shuttle logging support ([#273](https://github.com/fastly/terraform-provider-fastly/pull/273)) -* resource/fastly_service_v1/logging_honeycomb: Add Honeycomb logging support ([#272](https://github.com/fastly/terraform-provider-fastly/pull/272)) -* resource/fastly_service_v1/logging_heroku: Add Heroku logging support ([#271](https://github.com/fastly/terraform-provider-fastly/pull/271)) +- resource/fastly_service_v1/logging_digitalocean: Add DigitalOcean Spaces logging support ([#276](https://github.com/fastly/terraform-provider-fastly/pull/276)) +- resource/fastly_service_v1/logging_cloudfiles: Add Rackspace Cloud Files logging support ([#275](https://github.com/fastly/terraform-provider-fastly/pull/275)) +- resource/fastly_service_v1/logging_openstack: Add OpenStack logging support ([#273](https://github.com/fastly/terraform-provider-fastly/pull/274)) +- resource/fastly_service_v1/logging_logshuttle: Add Log Shuttle logging support ([#273](https://github.com/fastly/terraform-provider-fastly/pull/273)) +- resource/fastly_service_v1/logging_honeycomb: Add Honeycomb logging support ([#272](https://github.com/fastly/terraform-provider-fastly/pull/272)) +- resource/fastly_service_v1/logging_heroku: Add Heroku logging support ([#271](https://github.com/fastly/terraform-provider-fastly/pull/271)) NOTES: -* resource/fastly_service_v1/\*: "GZIP" -> "Gzip" ([#279](https://github.com/fastly/terraform-provider-fastly/pull/279)) -* resource/fastly_service_v1/logging_sftp: Update SFTP logging to use `ValidateFunc` for validating the `message_type` field ([#278](https://github.com/fastly/terraform-provider-fastly/pull/278)) -* resource/fastly_service_v1/gcslogging: Update GCS logging to use `ValidateFunc` for validating the `message_type` field ([#278](https://github.com/fastly/terraform-provider-fastly/pull/278)) -* resource/fastly_service_v1/blobstoragelogging: Update Azure Blob Storage logging to use a custom `StateFunc` for trimming whitespace from the `public_key` field ([#277](https://github.com/fastly/terraform-provider-fastly/pull/277)) -* resource/fastly_service_v1/logging_ftp: Update FTP logging to use a custom `StateFunc` for trimming whitespace from the `public_key` field ([#277](https://github.com/fastly/terraform-provider-fastly/pull/277)) -* resource/fastly_service_v1/s3logging: Update S3 logging to use a custom `StateFunc` for trimming whitespace from the `public_key` field ([#277](https://github.com/fastly/terraform-provider-fastly/pull/277)) +- resource/fastly_service_v1/\*: "GZIP" -> "Gzip" ([#279](https://github.com/fastly/terraform-provider-fastly/pull/279)) +- resource/fastly_service_v1/logging_sftp: Update SFTP logging to use `ValidateFunc` for validating the `message_type` field ([#278](https://github.com/fastly/terraform-provider-fastly/pull/278)) +- resource/fastly_service_v1/gcslogging: Update GCS logging to use `ValidateFunc` for validating the `message_type` field ([#278](https://github.com/fastly/terraform-provider-fastly/pull/278)) +- resource/fastly_service_v1/blobstoragelogging: Update Azure Blob Storage logging to use a custom `StateFunc` for trimming whitespace from the `public_key` field ([#277](https://github.com/fastly/terraform-provider-fastly/pull/277)) +- resource/fastly_service_v1/logging_ftp: Update FTP logging to use a custom `StateFunc` for trimming whitespace from the `public_key` field ([#277](https://github.com/fastly/terraform-provider-fastly/pull/277)) +- resource/fastly_service_v1/s3logging: Update S3 logging to use a custom `StateFunc` for trimming whitespace from the `public_key` field ([#277](https://github.com/fastly/terraform-provider-fastly/pull/277)) ## 0.17.1 (June 24, 2020) NOTES: -* resource/fastly_service_v1/\*: Migrates service resources to implement the `ServiceAttributeDefinition` `interface` ([#269](https://github.com/fastly/terraform-provider-fastly/pull/269)) +- resource/fastly_service_v1/\*: Migrates service resources to implement the `ServiceAttributeDefinition` `interface` ([#269](https://github.com/fastly/terraform-provider-fastly/pull/269)) ## 0.17.0 (June 22, 2020) ENHANCEMENTS: -* resource/fastly_service_v1/logging_googlepubsub: Add Google Cloud Pub/Sub logging support ([#258](https://github.com/fastly/terraform-provider-fastly/pull/258)) -* resource/fastly_service_v1/logging_kafka: Add Kafka logging support ([#254](https://github.com/fastly/terraform-provider-fastly/pull/254)) -* resource/fastly_service_v1/logging_scalyr: Add Scalyr logging support ([#252](https://github.com/fastly/terraform-provider-fastly/pull/252)) -* resource/fastly_service_v1/s3logging: Add support for public key field ([#249](https://github.com/fastly/terraform-provider-fastly/pull/249)) -* resource/fastly_service_v1/logging_newrelic: Add New Relic logging support ([#243](https://github.com/fastly/terraform-provider-fastly/pull/243)) -* resource/fastly_service_v1/logging_datadog: Add Datadog logging support ([#242](https://github.com/fastly/terraform-provider-fastly/pull/242)) -* resource/fastly_service_v1/logging_loggly: Add Loggly logging support ([#241](https://github.com/fastly/terraform-provider-fastly/pull/241)) -* resource/fastly_service_v1/logging_sftp: Add SFTP logging support ([#236](https://github.com/fastly/terraform-provider-fastly/pull/236)) -* resource/fastly_service_v1/logging_ftp: Add FTP logging support ([#235](https://github.com/fastly/terraform-provider-fastly/pull/235)) -* resource/fastly_service_v1/logging_elasticsearch: Add Elasticsearch logging support ([#234](https://github.com/fastly/terraform-provider-fastly/pull/234)) +- resource/fastly_service_v1/logging_googlepubsub: Add Google Cloud Pub/Sub logging support ([#258](https://github.com/fastly/terraform-provider-fastly/pull/258)) +- resource/fastly_service_v1/logging_kafka: Add Kafka logging support ([#254](https://github.com/fastly/terraform-provider-fastly/pull/254)) +- resource/fastly_service_v1/logging_scalyr: Add Scalyr logging support ([#252](https://github.com/fastly/terraform-provider-fastly/pull/252)) +- resource/fastly_service_v1/s3logging: Add support for public key field ([#249](https://github.com/fastly/terraform-provider-fastly/pull/249)) +- resource/fastly_service_v1/logging_newrelic: Add New Relic logging support ([#243](https://github.com/fastly/terraform-provider-fastly/pull/243)) +- resource/fastly_service_v1/logging_datadog: Add Datadog logging support ([#242](https://github.com/fastly/terraform-provider-fastly/pull/242)) +- resource/fastly_service_v1/logging_loggly: Add Loggly logging support ([#241](https://github.com/fastly/terraform-provider-fastly/pull/241)) +- resource/fastly_service_v1/logging_sftp: Add SFTP logging support ([#236](https://github.com/fastly/terraform-provider-fastly/pull/236)) +- resource/fastly_service_v1/logging_ftp: Add FTP logging support ([#235](https://github.com/fastly/terraform-provider-fastly/pull/235)) +- resource/fastly_service_v1/logging_elasticsearch: Add Elasticsearch logging support ([#234](https://github.com/fastly/terraform-provider-fastly/pull/234)) NOTES: -* resource/fastly_service_v1/sftp: Use `trimSpaceStateFunc` to trim leading and trailing whitespace from the `public_key` and `secret_key` fields ([#268](https://github.com/fastly/terraform-provider-fastly/pull/268)) -* resource/fastly_service_v1/bigquerylogging: Use `trimSpaceStateFunc` to trim leading and trailing whitespace from the `secret_key` field ([#268](https://github.com/fastly/terraform-provider-fastly/pull/268)) -* resource/fastly_service_v1/httpslogging: Use `trimSpaceStateFunc` to trim leading and trailing whitespace from the `tls_ca_cert`, `tls_client_cert` and `tls_client_key` fields ([#264](https://github.com/fastly/terraform-provider-fastly/pull/264)) -* resource/fastly_service_v1/splunk: Use `trimSpaceStateFunc` to trim leading and trailing whitespace from the `tls_ca_cert` field ([#264](https://github.com/fastly/terraform-provider-fastly/pull/264)) -* resource/fastly_service_v1/\*: Migrate schemas to block separate block files ([#262](https://github.com/fastly/terraform-provider-fastly/pull/262)) -* resource/fastly_service_v1/acl: Migrated to block file ([#253](https://github.com/fastly/terraform-provider-fastly/pull/253)) -* provider: Update `go-fastly` client to v1.5.0 ([#248](https://github.com/fastly/terraform-provider-fastly/pull/248)) +- resource/fastly_service_v1/sftp: Use `trimSpaceStateFunc` to trim leading and trailing whitespace from the `public_key` and `secret_key` fields ([#268](https://github.com/fastly/terraform-provider-fastly/pull/268)) +- resource/fastly_service_v1/bigquerylogging: Use `trimSpaceStateFunc` to trim leading and trailing whitespace from the `secret_key` field ([#268](https://github.com/fastly/terraform-provider-fastly/pull/268)) +- resource/fastly_service_v1/httpslogging: Use `trimSpaceStateFunc` to trim leading and trailing whitespace from the `tls_ca_cert`, `tls_client_cert` and `tls_client_key` fields ([#264](https://github.com/fastly/terraform-provider-fastly/pull/264)) +- resource/fastly_service_v1/splunk: Use `trimSpaceStateFunc` to trim leading and trailing whitespace from the `tls_ca_cert` field ([#264](https://github.com/fastly/terraform-provider-fastly/pull/264)) +- resource/fastly_service_v1/\*: Migrate schemas to block separate block files ([#262](https://github.com/fastly/terraform-provider-fastly/pull/262)) +- resource/fastly_service_v1/acl: Migrated to block file ([#253](https://github.com/fastly/terraform-provider-fastly/pull/253)) +- provider: Update `go-fastly` client to v1.5.0 ([#248](https://github.com/fastly/terraform-provider-fastly/pull/248)) ## 0.16.1 (June 03, 2020) BUG FIXES: -* resource/fastly_service_v1/s3logging: Fix persistence of `server_side_encryption` and `server_side_encryption_kms_key_id` arguments ([#246](https://github.com/fastly/terraform-provider-fastly/pull/246)) +- resource/fastly_service_v1/s3logging: Fix persistence of `server_side_encryption` and `server_side_encryption_kms_key_id` arguments ([#246](https://github.com/fastly/terraform-provider-fastly/pull/246)) ## 0.16.0 (June 01, 2020) ENHANCEMENTS: -* data-source/fastly_ip_ranges: Expose Fastly's IpV6 CIDR ranges via `ipv6_cidr_blocks` property ([#201](https://github.com/fastly/terraform-provider-fastly/pull/240)) +- data-source/fastly_ip_ranges: Expose Fastly's IpV6 CIDR ranges via `ipv6_cidr_blocks` property ([#201](https://github.com/fastly/terraform-provider-fastly/pull/240)) NOTES: -* provider: Update `go-fastly` client to v1.14.1 ([#184](https://github.com/fastly/terraform-provider-fastly/pull/240)) +- provider: Update `go-fastly` client to v1.14.1 ([#184](https://github.com/fastly/terraform-provider-fastly/pull/240)) ## 0.15.0 (April 28, 2020) ENHANCEMENTS: -* resource/fastly_service_v1: Add `httpslogging` argument ([#222](https://github.com/fastly/terraform-provider-fastly/pull/222)) -* resource/fastly_service_v1/splunk: Add `tls_hostname` and `tls_ca_cert` arguments ([#221](https://github.com/fastly/terraform-provider-fastly/pull/221)) +- resource/fastly_service_v1: Add `httpslogging` argument ([#222](https://github.com/fastly/terraform-provider-fastly/pull/222)) +- resource/fastly_service_v1/splunk: Add `tls_hostname` and `tls_ca_cert` arguments ([#221](https://github.com/fastly/terraform-provider-fastly/pull/221)) NOTES: -* provider: Update `go-fastly` client to v1.10.0 ([#220](https://github.com/fastly/terraform-provider-fastly/pull/220)) +- provider: Update `go-fastly` client to v1.10.0 ([#220](https://github.com/fastly/terraform-provider-fastly/pull/220)) ## 0.14.0 (April 14, 2020) FEATURES: -* **New Resource:** `fastly_user_v1` ([#214](https://github.com/fastly/terraform-provider-fastly/pull/214)) +- **New Resource:** `fastly_user_v1` ([#214](https://github.com/fastly/terraform-provider-fastly/pull/214)) BUG FIXES: -* resource/fastly_service_v1/snippet: Fix support for `hash` snippet type ([#217](https://github.com/fastly/terraform-provider-fastly/pull/217)) +- resource/fastly_service_v1/snippet: Fix support for `hash` snippet type ([#217](https://github.com/fastly/terraform-provider-fastly/pull/217)) NOTES: -* provider: Update `go` to v1.14.x ([#215](https://github.com/fastly/terraform-provider-fastly/pull/215)) +- provider: Update `go` to v1.14.x ([#215](https://github.com/fastly/terraform-provider-fastly/pull/215)) ## 0.13.0 (April 01, 2020) ENHANCEMENTS: -* resource/fastly_service_v1/s3logging: Add `server_side_encryption` and `server_side_encryption_kms_key_id` arguments ([#206](https://github.com/fastly/terraform-provider-fastly/pull/206)) -* resource/fastly_service_v1/snippet: Support `hash` in `type` validation ([#211](https://github.com/fastly/terraform-provider-fastly/issues/211)) -* resource/fastly_service_v1/dynamicsnippet: Support `hash` in `type` validation ([#211](https://github.com/fastly/terraform-provider-fastly/issues/211)) +- resource/fastly_service_v1/s3logging: Add `server_side_encryption` and `server_side_encryption_kms_key_id` arguments ([#206](https://github.com/fastly/terraform-provider-fastly/pull/206)) +- resource/fastly_service_v1/snippet: Support `hash` in `type` validation ([#211](https://github.com/fastly/terraform-provider-fastly/issues/211)) +- resource/fastly_service_v1/dynamicsnippet: Support `hash` in `type` validation ([#211](https://github.com/fastly/terraform-provider-fastly/issues/211)) NOTES: -* provider: Update `go-fastly` client to v1.7.2 ([#213](https://github.com/fastly/terraform-provider-fastly/pull/213)) +- provider: Update `go-fastly` client to v1.7.2 ([#213](https://github.com/fastly/terraform-provider-fastly/pull/213)) ## 0.12.1 (January 23, 2020) BUG FIXES: -* resource/fastly_service_v1: Allow a service to be created with a `default_ttl` of `0` ([#205](https://github.com/fastly/terraform-provider-fastly/pull/205)) +- resource/fastly_service_v1: Allow a service to be created with a `default_ttl` of `0` ([#205](https://github.com/fastly/terraform-provider-fastly/pull/205)) ## 0.12.0 (January 21, 2020) ENHANCEMENTS: -* resource/fastly_service_v1/syslog: Add `tls_client_cert` and `tls_client_key` arguments ([#203](https://github.com/fastly/terraform-provider-fastly/pull/203)) +- resource/fastly_service_v1/syslog: Add `tls_client_cert` and `tls_client_key` arguments ([#203](https://github.com/fastly/terraform-provider-fastly/pull/203)) ## 0.11.1 (December 16, 2019) BUG FIXES: -* data-source/fastly_ip_ranges: Use `go-fastly` client in order to fetch Fastly's assigned IP ranges ([#201](https://github.com/fastly/terraform-provider-fastly/pull/201)) +- data-source/fastly_ip_ranges: Use `go-fastly` client in order to fetch Fastly's assigned IP ranges ([#201](https://github.com/fastly/terraform-provider-fastly/pull/201)) ## 0.11.0 (October 15, 2019) ENHANCEMENTS: -* resource/fastly_service_v1/dictionary: Add `write_only` argument ([#189](https://github.com/fastly/terraform-provider-fastly/pull/189)) +- resource/fastly_service_v1/dictionary: Add `write_only` argument ([#189](https://github.com/fastly/terraform-provider-fastly/pull/189)) NOTES: -* provider: The underlying Terraform codebase dependency for the provider SDK and acceptance testing framework has been migrated from `github.com/hashicorp/terraform` to `github.com/hashicorp/terraform-plugin-sdk`. They are functionality equivalent and this should only impact codebase development to switch imports. For more information see the [Terraform Plugin SDK page in the Extending Terraform documentation](https://www.terraform.io/docs/extend/plugin-sdk.html). ([#191](https://github.com/fastly/terraform-provider-fastly/pull/191)) -* provider: The actual Terraform version used by the provider will now be included in the `User-Agent` header for Terraform 0.12 and later. Terraform 0.11 and earlier will use `Terraform/0.11+compatible` as this information was not accessible in those versions. ([#182](https://github.com/fastly/terraform-provider-fastly/pull/182)) +- provider: The underlying Terraform codebase dependency for the provider SDK and acceptance testing framework has been migrated from `github.com/hashicorp/terraform` to `github.com/hashicorp/terraform-plugin-sdk`. They are functionality equivalent and this should only impact codebase development to switch imports. For more information see the [Terraform Plugin SDK page in the Extending Terraform documentation](https://www.terraform.io/docs/extend/plugin-sdk.html). ([#191](https://github.com/fastly/terraform-provider-fastly/pull/191)) +- provider: The actual Terraform version used by the provider will now be included in the `User-Agent` header for Terraform 0.12 and later. Terraform 0.11 and earlier will use `Terraform/0.11+compatible` as this information was not accessible in those versions. ([#182](https://github.com/fastly/terraform-provider-fastly/pull/182)) ## 0.10.0 (October 02, 2019) ENHANCEMENTS: -* resource/fastly_service_v1: Add `cloned_version` argument ([#190](https://github.com/fastly/terraform-provider-fastly/pull/190)) +- resource/fastly_service_v1: Add `cloned_version` argument ([#190](https://github.com/fastly/terraform-provider-fastly/pull/190)) ## 0.9.0 (August 07, 2019) FEATURES: -* **New Resource:** `fastly_service_acl_entries_v1` ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) -* **New Resource:** `fastly_service_dictionary_items_v1` ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) -* **New Resource:** `fastly_service_dynamic_snippet_content_v1` ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) +- **New Resource:** `fastly_service_acl_entries_v1` ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) +- **New Resource:** `fastly_service_dictionary_items_v1` ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) +- **New Resource:** `fastly_service_dynamic_snippet_content_v1` ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) ENHANCEMENTS: -* resource/fastly_service_v1: Add `acl` argument ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) -* resource/fastly_service_v1: Add `dictionary` argument ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) -* resource/fastly_service_v1: Add `dynamicsnippet` argument ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) +- resource/fastly_service_v1: Add `acl` argument ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) +- resource/fastly_service_v1: Add `dictionary` argument ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) +- resource/fastly_service_v1: Add `dynamicsnippet` argument ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) NOTES: -* provider: Update `go-fastly` client to v1.2.1 ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) +- provider: Update `go-fastly` client to v1.2.1 ([#184](https://github.com/fastly/terraform-provider-fastly/pull/184)) ## 0.8.1 (July 12, 2019) BUG FIXES: -* resource/fastly_service_v1/condition: Support `PREFETCH` in `type` validation ([#171](https://github.com/fastly/terraform-provider-fastly/issues/171)) +- resource/fastly_service_v1/condition: Support `PREFETCH` in `type` validation ([#171](https://github.com/fastly/terraform-provider-fastly/issues/171)) ## 0.8.0 (June 28, 2019) NOTES: -* provider: This release includes only a Terraform SDK upgrade with compatibility for Terraform v0.12. The provider remains backwards compatible with Terraform v0.11 and there should not be any significant behavioural changes. ([#173](https://github.com/fastly/terraform-provider-fastly/pull/173)) +- provider: This release includes only a Terraform SDK upgrade with compatibility for Terraform v0.12. The provider remains backwards compatible with Terraform v0.11 and there should not be any significant behavioural changes. ([#173](https://github.com/fastly/terraform-provider-fastly/pull/173)) ## 0.7.0 (June 25, 2019) ENHANCEMENTS: -* resource/fastly_service_v1: Add `splunk` argument ([#130](https://github.com/fastly/terraform-provider-fastly/issues/130)) -* resource/fastly_service_v1: Add `blobstoragelogging` argument ([#117](https://github.com/fastly/terraform-provider-fastly/issues/117)) -* resource/fastly_service_v1: Add `comment` argument ([#70](https://github.com/fastly/terraform-provider-fastly/issues/70)) -* resource/fastly_service_v1: Add `version_comment` argument ([#126](https://github.com/fastly/terraform-provider-fastly/issues/126)) -* resource/fastly_service_v1/backend: Add `override_host` argument ([#163](https://github.com/fastly/terraform-provider-fastly/issues/163)) -* resource/fastly_service_v1/condition: Add validation for `type` argument ([#148](https://github.com/fastly/terraform-provider-fastly/issues/148)) +- resource/fastly_service_v1: Add `splunk` argument ([#130](https://github.com/fastly/terraform-provider-fastly/issues/130)) +- resource/fastly_service_v1: Add `blobstoragelogging` argument ([#117](https://github.com/fastly/terraform-provider-fastly/issues/117)) +- resource/fastly_service_v1: Add `comment` argument ([#70](https://github.com/fastly/terraform-provider-fastly/issues/70)) +- resource/fastly_service_v1: Add `version_comment` argument ([#126](https://github.com/fastly/terraform-provider-fastly/issues/126)) +- resource/fastly_service_v1/backend: Add `override_host` argument ([#163](https://github.com/fastly/terraform-provider-fastly/issues/163)) +- resource/fastly_service_v1/condition: Add validation for `type` argument ([#148](https://github.com/fastly/terraform-provider-fastly/issues/148)) NOTES: -* provider: Update `go-fastly` client to v1.0.0 ([#165](https://github.com/fastly/terraform-provider-fastly/pull/165)) +- provider: Update `go-fastly` client to v1.0.0 ([#165](https://github.com/fastly/terraform-provider-fastly/pull/165)) ## 0.6.1 (May 29, 2019) NOTES: -* provider: Switch codebase dependency management from `govendor` to Go modules ([#128](https://github.com/fastly/terraform-provider-fastly/pull/128)) -* provider: Update `go-fastly` client to v0.4.3 ([#154](https://github.com/fastly/terraform-provider-fastly/pull/154)) +- provider: Switch codebase dependency management from `govendor` to Go modules ([#128](https://github.com/fastly/terraform-provider-fastly/pull/128)) +- provider: Update `go-fastly` client to v0.4.3 ([#154](https://github.com/fastly/terraform-provider-fastly/pull/154)) ## 0.6.0 (February 08, 2019) ENHANCEMENTS: -* provider: Enable request/response logging ([#120](https://github.com/fastly/terraform-provider-fastly/issues/120)) -* resource/fastly_service_v1: Add `activate` argument ([#45](https://github.com/fastly/terraform-provider-fastly/pull/45)) +- provider: Enable request/response logging ([#120](https://github.com/fastly/terraform-provider-fastly/issues/120)) +- resource/fastly_service_v1: Add `activate` argument ([#45](https://github.com/fastly/terraform-provider-fastly/pull/45)) ## 0.5.0 (January 08, 2019) ENHANCEMENTS: -* resource/fastly_service_v1/s3logging: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) -* resource/fastly_service_v1/papertrail: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) -* resource/fastly_service_v1/sumologic: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) -* resource/fastly_service_v1/gcslogging: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) -* resource/fastly_service_v1/bigquerylogging: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) -* resource/fastly_service_v1/syslog: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) -* resource/fastly_service_v1/logentries: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) +- resource/fastly_service_v1/s3logging: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) +- resource/fastly_service_v1/papertrail: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) +- resource/fastly_service_v1/sumologic: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) +- resource/fastly_service_v1/gcslogging: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) +- resource/fastly_service_v1/bigquerylogging: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) +- resource/fastly_service_v1/syslog: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) +- resource/fastly_service_v1/logentries: Add `placement` argument ([#106](https://github.com/fastly/terraform-provider-fastly/pull/106)) BUG FIXES: -* resource/fastly_service_v1/snippet: Exclude dynamic snippets ([#107](https://github.com/fastly/terraform-provider-fastly/pull/107)) +- resource/fastly_service_v1/snippet: Exclude dynamic snippets ([#107](https://github.com/fastly/terraform-provider-fastly/pull/107)) ## 0.4.0 (October 02, 2018) ENHANCEMENTS: -* resource/fastly_service_v1: Add `snippet` argument ([#93](https://github.com/fastly/terraform-provider-fastly/pull/93)) -* resource/fastly_service_v1: Add `director` argument ([#43](https://github.com/fastly/terraform-provider-fastly/pull/43)) -* resource/fastly_service_v1/bigquerylogging: Add `template` argument ([#90](https://github.com/fastly/terraform-provider-fastly/pull/90)) +- resource/fastly_service_v1: Add `snippet` argument ([#93](https://github.com/fastly/terraform-provider-fastly/pull/93)) +- resource/fastly_service_v1: Add `director` argument ([#43](https://github.com/fastly/terraform-provider-fastly/pull/43)) +- resource/fastly_service_v1/bigquerylogging: Add `template` argument ([#90](https://github.com/fastly/terraform-provider-fastly/pull/90)) BUG FIXES: -* resource/fastly_service_v1: Handle deletion of already deleted or never created resources ([#89](https://github.com/fastly/terraform-provider-fastly/pull/89)) +- resource/fastly_service_v1: Handle deletion of already deleted or never created resources ([#89](https://github.com/fastly/terraform-provider-fastly/pull/89)) ## 0.3.0 (August 02, 2018) ENHANCEMENTS: -* resource/fastly_service_v1: Add `bigquerylogging` argument ([#80](https://github.com/fastly/terraform-provider-fastly/issues/80)) +- resource/fastly_service_v1: Add `bigquerylogging` argument ([#80](https://github.com/fastly/terraform-provider-fastly/issues/80)) ## 0.2.0 (June 04, 2018) ENHANCEMENTS: -* resource/fastly_service_v1/s3logging: Add `redundancy` argument ([64](https://github.com/fastly/terraform-provider-fastly/pull/64)) -* provider: Support for overriding base API URL ([68](https://github.com/fastly/terraform-provider-fastly/pull/68)) -* provider: Support for overriding user agent ([62](https://github.com/fastly/terraform-provider-fastly/pull/62)) +- resource/fastly_service_v1/s3logging: Add `redundancy` argument ([64](https://github.com/fastly/terraform-provider-fastly/pull/64)) +- provider: Support for overriding base API URL ([68](https://github.com/fastly/terraform-provider-fastly/pull/68)) +- provider: Support for overriding user agent ([62](https://github.com/fastly/terraform-provider-fastly/pull/62)) BUG FIXES: -* resource/fastly_service_v1/sumologic: Properly detect changes and update resource ([56](https://github.com/fastly/terraform-provider-fastly/pull/56)) +- resource/fastly_service_v1/sumologic: Properly detect changes and update resource ([56](https://github.com/fastly/terraform-provider-fastly/pull/56)) ## 0.1.4 (January 16, 2018) ENHANCEMENTS: -* resource/fastly_service_v1/s3logging: Add StateFunc to hash secrets ([#63](https://github.com/fastly/terraform-provider-fastly/issues/63)) +- resource/fastly_service_v1/s3logging: Add StateFunc to hash secrets ([#63](https://github.com/fastly/terraform-provider-fastly/issues/63)) ## 0.1.3 (December 18, 2017) ENHANCEMENTS: -* resource/fastly_service_v1: Add `logentries` argument ([#24](https://github.com/fastly/terraform-provider-fastly/issues/24)) -* resource/fastly_service_v1: Add `syslog` argument ([#16](https://github.com/fastly/terraform-provider-fastly/issues/16)) +- resource/fastly_service_v1: Add `logentries` argument ([#24](https://github.com/fastly/terraform-provider-fastly/issues/24)) +- resource/fastly_service_v1: Add `syslog` argument ([#16](https://github.com/fastly/terraform-provider-fastly/issues/16)) ENHANCEMENTS: -* resource/fastly_service_v1/syslog: Add `message_type` argument ([#30](https://github.com/fastly/terraform-provider-fastly/issues/30)) +- resource/fastly_service_v1/syslog: Add `message_type` argument ([#30](https://github.com/fastly/terraform-provider-fastly/issues/30)) ## 0.1.2 (August 02, 2017) ENHANCEMENTS: -* resource/fastly_service_v1/backend: Add `ssl_ca_cert` argument ([#11](https://github.com/fastly/terraform-provider-fastly/issues/11)) -* resource/fastly_service_v1/s3logging: Add `message_type` argument ([#14](https://github.com/fastly/terraform-provider-fastly/issues/14)) -* resource/fastly_service_v1/gcslogging: Add environment variable support for `secret_key` argument ([#15](https://github.com/fastly/terraform-provider-fastly/issues/15)) +- resource/fastly_service_v1/backend: Add `ssl_ca_cert` argument ([#11](https://github.com/fastly/terraform-provider-fastly/issues/11)) +- resource/fastly_service_v1/s3logging: Add `message_type` argument ([#14](https://github.com/fastly/terraform-provider-fastly/issues/14)) +- resource/fastly_service_v1/gcslogging: Add environment variable support for `secret_key` argument ([#15](https://github.com/fastly/terraform-provider-fastly/issues/15)) BUG FIXES: -* resource/fastly_service_v1/s3logging: Update default value of `domain` argument ([#12](https://github.com/fastly/terraform-provider-fastly/issues/12)) +- resource/fastly_service_v1/s3logging: Update default value of `domain` argument ([#12](https://github.com/fastly/terraform-provider-fastly/issues/12)) ## 0.1.1 (June 21, 2017) NOTES: -* provider: Bumping the provider version to get around provider caching issues - still same functionality +- provider: Bumping the provider version to get around provider caching issues - still same functionality ## 0.1.0 (June 20, 2017) NOTES: -* provider: Same functionality as that of Terraform 0.9.8. Repacked as part of [Provider Splitout](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/) +- provider: Same functionality as that of Terraform 0.9.8. Repacked as part of [Provider Splitout](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/) diff --git a/Makefile b/Makefile index 248ed1c79..04c84adc2 100644 --- a/Makefile +++ b/Makefile @@ -81,7 +81,8 @@ errcheck: @sh -c "'$(CURDIR)/scripts/errcheck.sh'" goreleaser-bin: - go install github.com/goreleaser/goreleaser@v1.18.2 + @# This is the last version of goreleaser that supports Go 1.20.14 (the version used to build the provider) + go install github.com/goreleaser/goreleaser@v1.21.2 nilaway: @nilaway ./... diff --git a/README.md b/README.md index 5a9e17f07..c8af81561 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,10 @@ - Mailing list: http://groups.google.com/group/terraform-tool - [![Gitter chat](https://badges.gitter.im/hashicorp-terraform/Lobby.png)](https://gitter.im/hashicorp-terraform/Lobby) -Requirements ------------- +## Requirements -- [Terraform](https://www.terraform.io/downloads.html) 0.12.x or higher -- [Go](https://golang.org/doc/install) 1.18 (to build the provider plugin) +- [Terraform](https://www.terraform.io/downloads.html) 0.12.x or higher +- [Go](https://golang.org/doc/install) 1.20 (to build the provider plugin) > NOTE: the last version of the Fastly provider to support Terraform 0.11.x and below was [v0.26.0](https://github.com/fastly/terraform-provider-fastly/releases/tag/v0.26.0) @@ -31,7 +30,7 @@ $ make build ## Developing the Provider -If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.18+ is *required*). +If you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.20+ is *required*). To compile the provider, run `make build`. This will build the provider and put the provider binary in a local `bin` directory. @@ -43,7 +42,7 @@ $ make build Alongside the newly built binary a file called `developer_overrides.tfrc` will be created. The `make build` target will communicate back details for setting the `TF_CLI_CONFIG_FILE` environment variable that will enable Terraform to use your locally built provider binary. -* HashiCorp - [Development Overrides for Provider developers](https://www.terraform.io/docs/cli/config/config-file.html#development-overrides-for-provider-developers). +- HashiCorp - [Development Overrides for Provider developers](https://www.terraform.io/docs/cli/config/config-file.html#development-overrides-for-provider-developers). > **NOTE**: If you have issues seeing any behaviours from code changes you've made to the provider, then it might be the terraform CLI is getting confused by which provider binary it should be using. Check inside the `./bin/` directory to see if there are multiple providers with different commit hashes (e.g. `terraform-provider-fastly_v2.2.0-5-gfdc37cee`) and delete them first before running `make build`. This should help the Terraform CLI resolve to the correct binary. @@ -87,6 +86,7 @@ Then use Terraform as usual, and it will automatically use the provider in the d $ export TF_REATTACH_PROVIDERS='{"fastly/fastly":{"Protocol":"grpc","Pid":54132,"Test":true,"Addr":{"Network":"unix","String":"/var/folders/qm/swg2hf4h5t8sdht8yhds4dg6m0000gn/T/plugin865249851"}}}' $ terraform plan ``` + You will then be able to set breakpoints and trace the provider's execution using the debugger as you would expect. The implementation for setting up debug mode presumes Terraform 0.13.x is being used. If you're using Terraform 0.12.x you'll need to manually modify the value assigned to `TF_REATTACH_PROVIDERS` so that the key `"fastly/fastly"` becomes `"registry.terraform.io/-/fastly"`. See HashiCorp's ["Support for Debuggable Provider Binaries"](https://www.terraform.io/docs/extend/guides/v2-upgrade-guide.html#support-for-debuggable-provider-binaries) for more details. @@ -160,18 +160,20 @@ Building the documentation copies the full markdown into the `docs` folder, read > NOTE: you'll need the [`tfplugindocs`](https://github.com/hashicorp/terraform-plugin-docs) tool for generating the Markdown to be deployed to Hashicorp. For more information on generating documentation, refer to https://www.terraform.io/docs/registry/providers/docs.html -* To validate the `/template` directory structure: +- To validate the `/template` directory structure: + ``` make validate-docs ``` -* To build the `/docs` documentation Markdown files: +- To build the `/docs` documentation Markdown files: + ``` make generate-docs ``` -* To view the documentation: -Paste `/docs` Markdown file content into https://registry.terraform.io/tools/doc-preview +- To view the documentation: + Paste `/docs` Markdown file content into https://registry.terraform.io/tools/doc-preview ## Contributing diff --git a/docs/index.md b/docs/index.md index ce63b2fba..34b27b31f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,7 +25,7 @@ terraform { required_providers { fastly = { source = "fastly/fastly" - version = ">= 5.6.0" + version = ">= 5.7.0" } } } diff --git a/fastly/data_source_services_test.go b/fastly/data_source_services_test.go index 347dd4635..358f78746 100644 --- a/fastly/data_source_services_test.go +++ b/fastly/data_source_services_test.go @@ -1,9 +1,9 @@ package fastly import ( + "crypto/rand" "encoding/hex" "fmt" - "math/rand" "testing" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" diff --git a/fastly/resource_fastly_service_authorization_test.go b/fastly/resource_fastly_service_authorization_test.go index d0b6f98be..2974b80a3 100644 --- a/fastly/resource_fastly_service_authorization_test.go +++ b/fastly/resource_fastly_service_authorization_test.go @@ -1,9 +1,9 @@ package fastly import ( + "crypto/rand" "encoding/hex" "fmt" - "math/rand" "testing" gofastly "github.com/fastly/go-fastly/v9/fastly" diff --git a/go.mod b/go.mod index d435b0817..1da5a3947 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/fastly/terraform-provider-fastly -go 1.18 +go 1.20 require ( github.com/bflad/tfproviderlint v0.29.0