From 2beb84754877d6aa0a1a73fab3f97a5cb9968c08 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Fri, 20 Sep 2024 15:48:01 +0200 Subject: [PATCH] Update GCP templates to v8 --- container-gcp-csharp/${PROJECT}.csproj | 2 +- container-gcp-go/go.mod | 2 +- container-gcp-go/main.go | 4 ++-- container-gcp-python/requirements.txt | 2 +- container-gcp-typescript/package.json | 2 +- gcp-csharp/${PROJECT}.csproj | 2 +- gcp-fsharp/${PROJECT}.fsproj | 2 +- gcp-go/go.mod | 2 +- gcp-go/main.go | 2 +- gcp-javascript/package.json | 2 +- gcp-python/requirements.txt | 2 +- gcp-typescript/package.json | 2 +- gcp-visualbasic/${PROJECT}.vbproj | 2 +- generator/mod-templates/gcp-template.txt | 2 +- kubernetes-gcp-csharp/${PROJECT}.csproj | 2 +- kubernetes-gcp-go/go.mod | 2 +- kubernetes-gcp-go/main.go | 6 +++--- kubernetes-gcp-typescript/package.json | 2 +- serverless-gcp-csharp/${PROJECT}.csproj | 2 +- serverless-gcp-go/go.mod | 2 +- serverless-gcp-go/main.go | 4 ++-- serverless-gcp-python/requirements.txt | 2 +- serverless-gcp-typescript/package.json | 2 +- static-website-gcp-csharp/${PROJECT}.csproj | 2 +- static-website-gcp-go/go.mod | 2 +- static-website-gcp-go/main.go | 4 ++-- static-website-gcp-python/requirements.txt | 2 +- static-website-gcp-typescript/package.json | 2 +- vm-gcp-csharp/${PROJECT}.csproj | 2 +- vm-gcp-go/go.mod | 2 +- vm-gcp-go/main.go | 2 +- vm-gcp-python/requirements.txt | 2 +- vm-gcp-typescript/package.json | 2 +- 33 files changed, 38 insertions(+), 38 deletions(-) diff --git a/container-gcp-csharp/${PROJECT}.csproj b/container-gcp-csharp/${PROJECT}.csproj index e028b4d84..742109230 100644 --- a/container-gcp-csharp/${PROJECT}.csproj +++ b/container-gcp-csharp/${PROJECT}.csproj @@ -10,7 +10,7 @@ - + diff --git a/container-gcp-go/go.mod b/container-gcp-go/go.mod index 51f1915ab..c4b072597 100644 --- a/container-gcp-go/go.mod +++ b/container-gcp-go/go.mod @@ -6,7 +6,7 @@ toolchain go1.22.1 require ( github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild v0.0.6 - github.com/pulumi/pulumi-gcp/sdk/v7 v7.0.0 + github.com/pulumi/pulumi-gcp/sdk/v8 v8.0.0 github.com/pulumi/pulumi-random/sdk/v4 v4.13.2 github.com/pulumi/pulumi/sdk/v3 v3.128.0 ) diff --git a/container-gcp-go/main.go b/container-gcp-go/main.go index 26caf4c57..c327519b8 100644 --- a/container-gcp-go/main.go +++ b/container-gcp-go/main.go @@ -4,8 +4,8 @@ import ( "strconv" "github.com/pulumi/pulumi-docker-build/sdk/go/dockerbuild" - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/artifactregistry" - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudrun" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/artifactregistry" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudrun" "github.com/pulumi/pulumi-random/sdk/v4/go/random" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" diff --git a/container-gcp-python/requirements.txt b/container-gcp-python/requirements.txt index ada37e8ec..40e9bdc07 100644 --- a/container-gcp-python/requirements.txt +++ b/container-gcp-python/requirements.txt @@ -1,4 +1,4 @@ pulumi>=3.0.0,<4.0.0 -pulumi-gcp>=7.0.0,<8.0.0 +pulumi-gcp>=8.0.0,<9.0.0 pulumi-docker-build>=0.0.0,<1.0.0 pulumi-random >=4.0.0,<5.0.0 diff --git a/container-gcp-typescript/package.json b/container-gcp-typescript/package.json index ee06def83..12f3ebb38 100644 --- a/container-gcp-typescript/package.json +++ b/container-gcp-typescript/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "@pulumi/docker-build": "^0.0.6", - "@pulumi/gcp": "^7.0.0", + "@pulumi/gcp": "^8.0.0", "@pulumi/random": "^4.0.0", "@pulumi/pulumi": "^3.113.0" } diff --git a/gcp-csharp/${PROJECT}.csproj b/gcp-csharp/${PROJECT}.csproj index b020d3d5c..5863c2a30 100644 --- a/gcp-csharp/${PROJECT}.csproj +++ b/gcp-csharp/${PROJECT}.csproj @@ -8,7 +8,7 @@ - + diff --git a/gcp-fsharp/${PROJECT}.fsproj b/gcp-fsharp/${PROJECT}.fsproj index 3901bffa2..e7c5b23f1 100644 --- a/gcp-fsharp/${PROJECT}.fsproj +++ b/gcp-fsharp/${PROJECT}.fsproj @@ -13,7 +13,7 @@ - + diff --git a/gcp-go/go.mod b/gcp-go/go.mod index d840ca51d..6c018ebac 100644 --- a/gcp-go/go.mod +++ b/gcp-go/go.mod @@ -3,6 +3,6 @@ module ${PROJECT} go 1.20 require ( - github.com/pulumi/pulumi-gcp/sdk/v7 v7.23.0 + github.com/pulumi/pulumi-gcp/sdk/v8 v8.2.0 github.com/pulumi/pulumi/sdk/v3 v3.117.0 ) diff --git a/gcp-go/main.go b/gcp-go/main.go index 665d02534..50557a2d9 100644 --- a/gcp-go/main.go +++ b/gcp-go/main.go @@ -1,7 +1,7 @@ package main import ( - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) diff --git a/gcp-javascript/package.json b/gcp-javascript/package.json index e2494b337..4fadc2534 100644 --- a/gcp-javascript/package.json +++ b/gcp-javascript/package.json @@ -3,6 +3,6 @@ "main": "index.js", "dependencies": { "@pulumi/pulumi": "^3.0.0", - "@pulumi/gcp": "^7.0.0" + "@pulumi/gcp": "^8.0.0" } } diff --git a/gcp-python/requirements.txt b/gcp-python/requirements.txt index 43e5d368a..56036af9f 100644 --- a/gcp-python/requirements.txt +++ b/gcp-python/requirements.txt @@ -1,2 +1,2 @@ pulumi>=3.0.0,<4.0.0 -pulumi-gcp>=7.0.0,<8.0.0 +pulumi-gcp>=8.0.0,<9.0.0 diff --git a/gcp-typescript/package.json b/gcp-typescript/package.json index c0b298a62..b3c1e1b70 100644 --- a/gcp-typescript/package.json +++ b/gcp-typescript/package.json @@ -6,7 +6,7 @@ "typescript": "^5.0.0" }, "dependencies": { - "@pulumi/gcp": "^7.0.0", + "@pulumi/gcp": "^8.0.0", "@pulumi/pulumi": "^3.113.0" } } diff --git a/gcp-visualbasic/${PROJECT}.vbproj b/gcp-visualbasic/${PROJECT}.vbproj index 8b822e44a..a26e4c8a9 100644 --- a/gcp-visualbasic/${PROJECT}.vbproj +++ b/gcp-visualbasic/${PROJECT}.vbproj @@ -9,7 +9,7 @@ - + diff --git a/generator/mod-templates/gcp-template.txt b/generator/mod-templates/gcp-template.txt index efd13eaac..f106437bb 100644 --- a/generator/mod-templates/gcp-template.txt +++ b/generator/mod-templates/gcp-template.txt @@ -3,6 +3,6 @@ module ${PROJECT} go 1.20 require ( - github.com/pulumi/pulumi-gcp/sdk/v7 ${VERSION} + github.com/pulumi/pulumi-gcp/sdk/v8 ${VERSION} github.com/pulumi/pulumi/sdk/v3 ${PULUMI_VERSION} ) diff --git a/kubernetes-gcp-csharp/${PROJECT}.csproj b/kubernetes-gcp-csharp/${PROJECT}.csproj index 303004dd9..c74ab79a8 100644 --- a/kubernetes-gcp-csharp/${PROJECT}.csproj +++ b/kubernetes-gcp-csharp/${PROJECT}.csproj @@ -8,7 +8,7 @@ - + diff --git a/kubernetes-gcp-go/go.mod b/kubernetes-gcp-go/go.mod index 35d9bea97..ce80feeba 100644 --- a/kubernetes-gcp-go/go.mod +++ b/kubernetes-gcp-go/go.mod @@ -3,6 +3,6 @@ module ${PROJECT} go 1.20 require ( - github.com/pulumi/pulumi-gcp/sdk/v7 v7.0.0 + github.com/pulumi/pulumi-gcp/sdk/v8 v8.0.0 github.com/pulumi/pulumi/sdk/v3 v3.91.1 ) diff --git a/kubernetes-gcp-go/main.go b/kubernetes-gcp-go/main.go index 1a88f560c..2c25875bc 100644 --- a/kubernetes-gcp-go/main.go +++ b/kubernetes-gcp-go/main.go @@ -3,9 +3,9 @@ package main import ( "fmt" - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute" - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/serviceaccount" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/container" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" ) diff --git a/kubernetes-gcp-typescript/package.json b/kubernetes-gcp-typescript/package.json index 26f75434e..6495014d5 100644 --- a/kubernetes-gcp-typescript/package.json +++ b/kubernetes-gcp-typescript/package.json @@ -5,7 +5,7 @@ "typescript": "^5.0.0" }, "dependencies": { - "@pulumi/gcp": "^7.0.0", + "@pulumi/gcp": "^8.0.0", "@pulumi/pulumi": "^3.113.0" } } diff --git a/serverless-gcp-csharp/${PROJECT}.csproj b/serverless-gcp-csharp/${PROJECT}.csproj index 7651df50d..dc77bb209 100644 --- a/serverless-gcp-csharp/${PROJECT}.csproj +++ b/serverless-gcp-csharp/${PROJECT}.csproj @@ -10,7 +10,7 @@ - + diff --git a/serverless-gcp-go/go.mod b/serverless-gcp-go/go.mod index c542bfc1e..608c4c145 100644 --- a/serverless-gcp-go/go.mod +++ b/serverless-gcp-go/go.mod @@ -3,7 +3,7 @@ module ${PROJECT} go 1.20 require ( - github.com/pulumi/pulumi-gcp/sdk/v7 v7.0.0 + github.com/pulumi/pulumi-gcp/sdk/v8 v8.0.0 github.com/pulumi/pulumi-synced-folder/sdk v0.0.9 github.com/pulumi/pulumi/sdk/v3 v3.96.1 ) diff --git a/serverless-gcp-go/main.go b/serverless-gcp-go/main.go index 05cd87e9e..b2dfdbc70 100644 --- a/serverless-gcp-go/main.go +++ b/serverless-gcp-go/main.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudfunctions" - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/cloudfunctions" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" synced "github.com/pulumi/pulumi-synced-folder/sdk/go/synced-folder" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" diff --git a/serverless-gcp-python/requirements.txt b/serverless-gcp-python/requirements.txt index 087c8f1f2..b91f2d795 100644 --- a/serverless-gcp-python/requirements.txt +++ b/serverless-gcp-python/requirements.txt @@ -1,3 +1,3 @@ pulumi>=3.0.0,<4.0.0 -pulumi-gcp>=7.0.0,<8.0.0 +pulumi-gcp>=8.0.0,<9.0.0 pulumi-synced-folder>=0.0.0,<1.0.0 diff --git a/serverless-gcp-typescript/package.json b/serverless-gcp-typescript/package.json index f3e4fc1e8..00a10776c 100644 --- a/serverless-gcp-typescript/package.json +++ b/serverless-gcp-typescript/package.json @@ -6,7 +6,7 @@ "typescript": "^5.0.0" }, "dependencies": { - "@pulumi/gcp": "^7.0.0", + "@pulumi/gcp": "^8.0.0", "@pulumi/synced-folder": "^0.0.9", "@pulumi/pulumi": "^3.113.0" } diff --git a/static-website-gcp-csharp/${PROJECT}.csproj b/static-website-gcp-csharp/${PROJECT}.csproj index ac1b5c816..08025d6f3 100644 --- a/static-website-gcp-csharp/${PROJECT}.csproj +++ b/static-website-gcp-csharp/${PROJECT}.csproj @@ -8,7 +8,7 @@ - + diff --git a/static-website-gcp-go/go.mod b/static-website-gcp-go/go.mod index c542bfc1e..608c4c145 100644 --- a/static-website-gcp-go/go.mod +++ b/static-website-gcp-go/go.mod @@ -3,7 +3,7 @@ module ${PROJECT} go 1.20 require ( - github.com/pulumi/pulumi-gcp/sdk/v7 v7.0.0 + github.com/pulumi/pulumi-gcp/sdk/v8 v8.0.0 github.com/pulumi/pulumi-synced-folder/sdk v0.0.9 github.com/pulumi/pulumi/sdk/v3 v3.96.1 ) diff --git a/static-website-gcp-go/main.go b/static-website-gcp-go/main.go index 78ae77e5d..c6fd15939 100644 --- a/static-website-gcp-go/main.go +++ b/static-website-gcp-go/main.go @@ -1,8 +1,8 @@ package main import ( - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute" - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/storage" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/storage" synced "github.com/pulumi/pulumi-synced-folder/sdk/go/synced-folder" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" diff --git a/static-website-gcp-python/requirements.txt b/static-website-gcp-python/requirements.txt index 087c8f1f2..b91f2d795 100644 --- a/static-website-gcp-python/requirements.txt +++ b/static-website-gcp-python/requirements.txt @@ -1,3 +1,3 @@ pulumi>=3.0.0,<4.0.0 -pulumi-gcp>=7.0.0,<8.0.0 +pulumi-gcp>=8.0.0,<9.0.0 pulumi-synced-folder>=0.0.0,<1.0.0 diff --git a/static-website-gcp-typescript/package.json b/static-website-gcp-typescript/package.json index 2ae113c77..82fa475c1 100644 --- a/static-website-gcp-typescript/package.json +++ b/static-website-gcp-typescript/package.json @@ -5,7 +5,7 @@ "typescript": "^5.0.0" }, "dependencies": { - "@pulumi/gcp": "^7.0.0", + "@pulumi/gcp": "^8.0.0", "@pulumi/synced-folder": "^0.0.9", "@pulumi/pulumi": "^3.113.0" } diff --git a/vm-gcp-csharp/${PROJECT}.csproj b/vm-gcp-csharp/${PROJECT}.csproj index b020d3d5c..5863c2a30 100644 --- a/vm-gcp-csharp/${PROJECT}.csproj +++ b/vm-gcp-csharp/${PROJECT}.csproj @@ -8,7 +8,7 @@ - + diff --git a/vm-gcp-go/go.mod b/vm-gcp-go/go.mod index 14e6b1a16..9aa83510a 100644 --- a/vm-gcp-go/go.mod +++ b/vm-gcp-go/go.mod @@ -3,6 +3,6 @@ module ${PROJECT} go 1.20 require ( - github.com/pulumi/pulumi-gcp/sdk/v7 v7.0.0 + github.com/pulumi/pulumi-gcp/sdk/v8 v8.0.0 github.com/pulumi/pulumi/sdk/v3 v3.96.1 ) diff --git a/vm-gcp-go/main.go b/vm-gcp-go/main.go index b11fb549d..a6387200c 100644 --- a/vm-gcp-go/main.go +++ b/vm-gcp-go/main.go @@ -3,7 +3,7 @@ package main import ( "fmt" - "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute" + "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" ) diff --git a/vm-gcp-python/requirements.txt b/vm-gcp-python/requirements.txt index 43e5d368a..56036af9f 100644 --- a/vm-gcp-python/requirements.txt +++ b/vm-gcp-python/requirements.txt @@ -1,2 +1,2 @@ pulumi>=3.0.0,<4.0.0 -pulumi-gcp>=7.0.0,<8.0.0 +pulumi-gcp>=8.0.0,<9.0.0 diff --git a/vm-gcp-typescript/package.json b/vm-gcp-typescript/package.json index c0b298a62..b3c1e1b70 100644 --- a/vm-gcp-typescript/package.json +++ b/vm-gcp-typescript/package.json @@ -6,7 +6,7 @@ "typescript": "^5.0.0" }, "dependencies": { - "@pulumi/gcp": "^7.0.0", + "@pulumi/gcp": "^8.0.0", "@pulumi/pulumi": "^3.113.0" } }