Skip to content

Commit 86cdbf1

Browse files
authored
fix: Fixed country name validation and firewall rule import (#435)
* fix: Fixed Integration Tests, Upgraded SDK, and country and timezone validation
1 parent bf41cd5 commit 86cdbf1

37 files changed

+923
-147
lines changed

.github/workflows/zia-test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ permissions:
2323

2424
jobs:
2525

26-
zia-zs3-tests:
26+
zia-zs3tests:
2727
runs-on: ubuntu-latest
2828
strategy:
2929
fail-fast: false
@@ -82,9 +82,7 @@ jobs:
8282
ZSCALER_CLIENT_SECRET: ${{ secrets.ZSCALER_CLIENT_SECRET }}
8383
ZSCALER_VANITY_DOMAIN: ${{ secrets.ZSCALER_VANITY_DOMAIN }}
8484
ZSCALER_CLOUD: ${{ secrets.ZSCALER_CLOUD }}
85-
# ZSCALER_SDK_LOG: ${{ secrets.ZSCALER_SDK_LOG }}
86-
# ZSCALER_SDK_VERBOSE: ${{ secrets.ZSCALER_SDK_VERBOSE }}
87-
ZIA_SDK_TEST_SWEEP: ${{ secrets.ZIA_SDK_TEST_SWEEP }}
85+
ZPA_CUSTOMER_ID: ${{ secrets.ZPA_CUSTOMER_ID }}
8886
ZSCALER_SANDBOX_TOKEN: ${{ secrets.ZSCALER_SANDBOX_TOKEN }}
8987
ZSCALER_SANDBOX_CLOUD: ${{ secrets.ZSCALER_SANDBOX_CLOUD }}
9088
TF_ACC: ${{ secrets.TF_ACC }}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Changelog
22

3+
## 4.1.3 (June, 5 2025)
4+
5+
### Notes
6+
7+
- Release date: **(June, 5 2025)**
8+
- Supported Terraform version: **v1.x**
9+
10+
### Enhancement
11+
12+
- [PR #435](https://github.com/zscaler/terraform-provider-zia/pull/435) - Fixed `zia_firewall_filtering_rule` import issue with predefined rules.
13+
- [PR #435](https://github.com/zscaler/terraform-provider-zia/pull/435) - Fixed country name and timezone validation for `zia_location_management` resource.
14+
315
## 4.1.2 (May, 20 2025)
416

517
### Notes

GNUmakefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,14 @@ test\:integration\:zscalertwo:
196196
build13: GOOS=$(shell go env GOOS)
197197
build13: GOARCH=$(shell go env GOARCH)
198198
ifeq ($(OS),Windows_NT) # is Windows_NT on XP, 2000, 7, Vista, 10...
199-
build13: DESTINATION=$(APPDATA)/terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/4.1.2/$(GOOS)_$(GOARCH)
199+
build13: DESTINATION=$(APPDATA)/terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/4.1.3/$(GOOS)_$(GOARCH)
200200
else
201-
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/4.1.2/$(GOOS)_$(GOARCH)
201+
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/4.1.3/$(GOOS)_$(GOARCH)
202202
endif
203203
build13: fmtcheck
204204
@echo "==> Installing plugin to $(DESTINATION)"
205205
@mkdir -p $(DESTINATION)
206-
go build -o $(DESTINATION)/terraform-provider-zia_v4.1.2
206+
go build -o $(DESTINATION)/terraform-provider-zia_v4.1.3
207207

208208
coverage: test
209209
@echo "✓ Opening coverage for unit tests ..."
File renamed without changes.
File renamed without changes.

docs/data-sources/zia_security_policy_settings.md renamed to docs/data-sources/zia_security_settings.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
subcategory: "Security Policy Settings"
33
layout: "zscaler"
4-
page_title: "ZIA: security_policy_settings"
4+
page_title: "ZIA: zia_security_settings"
55
description: |-
66
Gets a list of URLs that are on the allow and denylist.
77
---
88

9-
# Data Source: zia_security_policy_settings
9+
# Data Source: zia_security_settings
1010

11-
Use the **zia_security_policy_settings** data source to get a list of URLs that were added to the allow and denylist under the Advanced Threat Protection policy in the Zscaler Internet Access cloud or via the API.
11+
Use the **zia_security_settings** data source to get a list of URLs that were added to the allow and denylist under the Advanced Threat Protection policy in the Zscaler Internet Access cloud or via the API.
1212

1313
## Example Usage
1414

docs/guides/release-notes.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,22 @@ description: |-
1212
Track all ZIA Terraform provider's releases. New resources, features, and bug fixes will be tracked here.
1313

1414
---
15-
``Last updated: v4.1.2``
15+
``Last updated: v4.1.3``
1616

1717
---
1818

19+
## 4.1.3 (June, 5 2025)
20+
21+
### Notes
22+
23+
- Release date: **(June, 5 2025)**
24+
- Supported Terraform version: **v1.x**
25+
26+
### Enhancement
27+
28+
- [PR #435](https://github.com/zscaler/terraform-provider-zia/pull/435) - Fixed `zia_firewall_filtering_rule` import issue with predefined rules.
29+
- [PR #435](https://github.com/zscaler/terraform-provider-zia/pull/435) - Fixed country name and timezone validation for `zia_location_management` resource.
30+
1931
## 4.1.2 (May, 20 2025)
2032

2133
### Notes

docs/guides/support.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ Urgent, production related Terraform issues can be resolved via direct interacti
1919

2020
## Contact
2121

22-
For questions or requests that cannot be submitted via GitHub Issues, please contact [email protected] with zia-terraform-provider" in the subject line.
23-
We also provide a [private Slack channel](https://docs.google.com/forms/d/e/1FAIpQLSfkd3EMkLQdIWMNQ7QCr8TrH_xVSwSYcQshfBPDEZFOaF28qA/viewform?usp=sf_link) where you can submit your questions to the provider maintainers. Notice that this form will be reviewed and approved by Zscaler Technology Alliances team.
22+
For questions or requests that cannot be submitted via GitHub Issues, please contact [Zscaler Global Support](https://help.zscaler.com/contact-support)
File renamed without changes.

0 commit comments

Comments
 (0)