From f0bec0f9fac095a4d358e6bb33fbb05b3c04a607 Mon Sep 17 00:00:00 2001 From: GitHub Terraform Date: Thu, 26 Oct 2023 14:54:12 -0700 Subject: [PATCH 1/2] fix: Fixed environment variable authentication for zpa_cloud --- zpa/provider.go | 1 + zpa/version.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/zpa/provider.go b/zpa/provider.go index dbde0a9c..46ebd1ef 100644 --- a/zpa/provider.go +++ b/zpa/provider.go @@ -41,6 +41,7 @@ func ZPAProvider() *schema.Provider { DefaultFunc: schema.EnvDefaultFunc("ZPA_CUSTOMER_ID", nil), Description: "zpa customer id", }, + "zpa_cloud": { Type: schema.TypeString, Optional: true, diff --git a/zpa/version.go b/zpa/version.go index 1ddf01ef..e10507c4 100644 --- a/zpa/version.go +++ b/zpa/version.go @@ -1,4 +1,4 @@ package zpa // ProviderVersion is set at build-time in the release process -var ProviderVersion = "3.0.0" +var ProviderVersion = "3.0.3" From a87ee4619689250954cb6d5e651245b47344d355 Mon Sep 17 00:00:00 2001 From: GitHub Terraform Date: Thu, 26 Oct 2023 21:17:52 -0700 Subject: [PATCH 2/2] doc: Updated release notes --- CHANGELOG.md | 6 +++--- docs/guides/release-notes.md | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38c9df66..e7d362e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,17 +1,17 @@ # Changelog -## 3.0.3 (October, xx 2023) +## 3.0.3 (October, 27 2023) ### Notes -- Release date: **(October, xx 2023)** +- Release date: **(October, 27 2023)** - Supported Terraform version: **v1.x** ### Fixes - [PR #375](https://github.com/zscaler/terraform-provider-zpa/pull/375) - Fixed drift issues in ``zpa_application_segment_pra`` and ``zpa_application_segment_inspection`` when setting up ``apps_config`` options. - [PR #375](https://github.com/zscaler/terraform-provider-zpa/pull/375) - Upgrade to [Zscaler-SDK-GO v2.1.3](https://github.com/zscaler/zscaler-sdk-go/releases/tag/v2.1.3). The upgrade allows searches for resources in which the name include 1 or more spaces. - +- [PR #380](https://github.com/zscaler/terraform-provider-zpa/pull/380) - Fixed provider authentication to accept `ZPA_CLOUD` via environment variables. ## 3.0.2 (September, 30 2023) diff --git a/docs/guides/release-notes.md b/docs/guides/release-notes.md index 8c933a96..fff4d533 100644 --- a/docs/guides/release-notes.md +++ b/docs/guides/release-notes.md @@ -16,17 +16,18 @@ Track all ZPA Terraform provider's releases. New resources, features, and bug fi --- -## 3.0.3 (October, xx 2023) +## 3.0.3 (October, 27 2023) ### Notes -- Release date: **(October, xx 2023)** +- Release date: **(October, 27 2023)** - Supported Terraform version: **v1.x** ### Fixes - [PR #375](https://github.com/zscaler/terraform-provider-zpa/pull/375) - Fixed drift issues in ``zpa_application_segment_pra`` and ``zpa_application_segment_inspection`` when setting up ``apps_config`` options. - [PR #375](https://github.com/zscaler/terraform-provider-zpa/pull/375) - Upgrade to [Zscaler-SDK-GO v2.1.3](https://github.com/zscaler/zscaler-sdk-go/releases/tag/v2.1.3). The upgrade allows searches for resources in which the name include 1 or more spaces. +- [PR #380](https://github.com/zscaler/terraform-provider-zpa/pull/380) - Fixed provider authentication to accept `ZPA_CLOUD` via environment variables. ## 3.0.2 (September, 30 2023)