Skip to content

Commit

Permalink
feat: Added support to segment group v2 API and Fixes (#483)
Browse files Browse the repository at this point in the history
* Fixed drift issue within all policy access rule v2 resources
* feat: Added support to segment group v2 API
  • Loading branch information
willguibr authored Sep 5, 2024
1 parent f4d9923 commit 343912b
Show file tree
Hide file tree
Showing 10 changed files with 234 additions and 37 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## 3.33.0 (September, 5 2024)

### Notes

- Release date: **(September, 5 2024)**
- Supported Terraform version: **v1.x**

### Enhancements
- [PR #483](/~https://github.com/zscaler/terraform-provider-zpa/pull/483) Updated `resourceSegmentGroupUpdate` function in the resource `zpa_segment_group` to use the new GO SDK function `UpdateV2`. The `UpdateV2` function offers a newly enhanced v2 ZPA API endpoint.

### Bug Fixes
- [PR #483](/~https://github.com/zscaler/terraform-provider-zpa/pull/483) - Fixed drift issue within all policy access rule v2 resources.
- [PR #483](/~https://github.com/zscaler/terraform-provider-zpa/pull/483) - Fixed drift within the resource `zpa_provisioning_key` related to the attribute `microtenant_id` when setting the microtenant ID via environment variable.

## 3.32.5 (August, 28 2024)

### Notes
Expand Down
6 changes: 3 additions & 3 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ test\:integration\:zpa:
build13: GOOS=$(shell go env GOOS)
build13: GOARCH=$(shell go env GOARCH)
ifeq ($(OS),Windows_NT) # is Windows_NT on XP, 2000, 7, Vista, 10...
build13: DESTINATION=$(APPDATA)/terraform.d/plugins/$(ZPA_PROVIDER_NAMESPACE)/3.32.5/$(GOOS)_$(GOARCH)
build13: DESTINATION=$(APPDATA)/terraform.d/plugins/$(ZPA_PROVIDER_NAMESPACE)/3.32.6/$(GOOS)_$(GOARCH)
else
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(ZPA_PROVIDER_NAMESPACE)/3.32.5/$(GOOS)_$(GOARCH)
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(ZPA_PROVIDER_NAMESPACE)/3.32.6/$(GOOS)_$(GOARCH)
endif
build13: fmtcheck
@echo "==> Installing plugin to $(DESTINATION)"
@mkdir -p $(DESTINATION)
go build -o $(DESTINATION)/terraform-provider-zpa_v3.32.5
go build -o $(DESTINATION)/terraform-provider-zpa_v3.32.6

vet:
@echo "==> Checking source code against go vet and staticcheck"
Expand Down
16 changes: 15 additions & 1 deletion docs/guides/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,24 @@ Track all ZPA Terraform provider's releases. New resources, features, and bug fi

---

``Last updated: v3.32.5``
``Last updated: v3.32.6``

---

## 3.33.0 (September, 5 2024)

### Notes

- Release date: **(September, 5 2024)**
- Supported Terraform version: **v1.x**

### Enhancements
- [PR #483](/~https://github.com/zscaler/terraform-provider-zpa/pull/483) Updated `resourceSegmentGroupUpdate` function in the resource `zpa_segment_group` to use the new GO SDK function `UpdateV2`. The `UpdateV2` function offers a newly enhanced v2 ZPA API endpoint.

### Bug Fixes
- [PR #483](/~https://github.com/zscaler/terraform-provider-zpa/pull/483) - Fixed drift issue within all policy access rule v2 resources.
- [PR #483](/~https://github.com/zscaler/terraform-provider-zpa/pull/483) - Fixed drift within the resource `zpa_provisioning_key` related to the attribute `microtenant_id` when setting the microtenant ID via environment variable.

## 3.32.5 (August, 28 2024)

### Notes
Expand Down
Loading

0 comments on commit 343912b

Please sign in to comment.