Skip to content

Commit

Permalink
fix: Added missing location management state attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
willguibr committed Jul 3, 2024
1 parent 001d677 commit e2e77db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,14 @@ test\:integration\:zscalertwo:
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/$(ZIA_PROVIDER_NAMESPACE)/2.91.2/$(GOOS)_$(GOARCH)
build13: DESTINATION=$(APPDATA)/terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/2.91.3/$(GOOS)_$(GOARCH)
else
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/2.91.2/$(GOOS)_$(GOARCH)
build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(ZIA_PROVIDER_NAMESPACE)/2.91.3/$(GOOS)_$(GOARCH)
endif
build13: fmtcheck
@echo "==> Installing plugin to $(DESTINATION)"
@mkdir -p $(DESTINATION)
go build -o $(DESTINATION)/terraform-provider-zia_v2.91.2
go build -o $(DESTINATION)/terraform-provider-zia_v2.91.3

coverage: test
@echo "✓ Opening coverage for unit tests ..."
Expand Down
1 change: 1 addition & 0 deletions zia/resource_zia_location_management.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ func resourceLocationManagementRead(d *schema.ResourceData, m interface{}) error
_ = d.Set("up_bandwidth", resp.UpBandwidth)
_ = d.Set("dn_bandwidth", resp.DnBandwidth)
_ = d.Set("country", resp.Country)
_ = d.Set("state", resp.State)
_ = d.Set("tz", resp.TZ)
_ = d.Set("ip_addresses", resp.IPAddresses)
_ = d.Set("ports", resp.Ports)
Expand Down

0 comments on commit e2e77db

Please sign in to comment.