From fcef50b42a1972cc02fd39c3c41a0d55a349f618 Mon Sep 17 00:00:00 2001 From: William Guilherme Date: Fri, 2 Dec 2022 10:14:21 -0800 Subject: [PATCH] Add sdk-go 0.4.1 to address pagination issue (#223) --- GNUmakefile | 6 +++--- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 7b2e07c6..e71714ed 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -16,15 +16,15 @@ build: fmtcheck 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)/2.5.1/$(GOOS)_$(GOARCH) +build13: DESTINATION=$(APPDATA)/terraform.d/plugins/$(ZPA_PROVIDER_NAMESPACE)/2.5.2/$(GOOS)_$(GOARCH) else -build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(ZPA_PROVIDER_NAMESPACE)/2.5.1/$(GOOS)_$(GOARCH) +build13: DESTINATION=$(HOME)/.terraform.d/plugins/$(ZPA_PROVIDER_NAMESPACE)/2.5.2/$(GOOS)_$(GOARCH) endif build13: fmtcheck go mod tidy && go mod vendor @echo "==> Installing plugin to $(DESTINATION)" @mkdir -p $(DESTINATION) - go build -o $(DESTINATION)/terraform-provider-zpa_v2.5.1 + go build -o $(DESTINATION)/terraform-provider-zpa_v2.5.2 test: fmtcheck go test $(TEST) || exit 1 diff --git a/go.mod b/go.mod index 67f97f29..58b0fd9d 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/hashicorp/terraform-plugin-docs v0.13.0 github.com/hashicorp/terraform-plugin-sdk v1.17.2 github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.1 - github.com/zscaler/zscaler-sdk-go v0.3.2 + github.com/zscaler/zscaler-sdk-go v0.4.1 ) require ( diff --git a/go.sum b/go.sum index 7dfc844b..ea532ed1 100644 --- a/go.sum +++ b/go.sum @@ -426,8 +426,8 @@ github.com/zclconf/go-cty v1.12.1 h1:PcupnljUm9EIvbgSHQnHhUr3fO6oFmkOrvs2BAFNXXY github.com/zclconf/go-cty v1.12.1/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.2/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0= -github.com/zscaler/zscaler-sdk-go v0.3.2 h1:n5+EWKr1gu5IOsTOk/fzE5f9EDQSGiJQzTL49L2yBcw= -github.com/zscaler/zscaler-sdk-go v0.3.2/go.mod h1:BvxM0j3xTM3Vb6FHUmuOKqRgNHv0EqGXfe99d1geUwc= +github.com/zscaler/zscaler-sdk-go v0.4.1 h1:uUlnYoiOwp93Dlz0uTkAZvfQ4y8ZcHVcBBM+inc6ubw= +github.com/zscaler/zscaler-sdk-go v0.4.1/go.mod h1:BvxM0j3xTM3Vb6FHUmuOKqRgNHv0EqGXfe99d1geUwc= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=