Skip to content

Commit 36d8d2a

Browse files
authored
Upgrade terraform-provider-postgresql to v1.23.0 (#561)
This PR was generated via `$ upgrade-provider pulumi/pulumi-postgresql`. --- - Updating Java Gen version from 0.15.0 to 0.16.0. - Upgrading terraform-provider-postgresql from 1.22.0 to 1.23.0. Fixes #558 Fixes #560
1 parent eb309cf commit 36d8d2a

File tree

25 files changed

+569
-85
lines changed

25 files changed

+569
-85
lines changed

.pulumi-java-gen.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.15.0
1+
0.16.0

patches/0001-fix-import-path.patch

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Ian Wahbe <me@iwahbe.com>
3+
Date: Thu, 12 Sep 2024 20:11:27 +0200
4+
Subject: [PATCH] fix import path
5+
6+
7+
diff --git a/go.mod b/go.mod
8+
index 5d4290d..e0e22b3 100644
9+
--- a/go.mod
10+
+++ b/go.mod
11+
@@ -1,4 +1,4 @@
12+
-module github.com/terraform-providers/terraform-provider-postgresql
13+
+module github.com/cyrilgdn/terraform-provider-postgresql
14+
15+
go 1.20
16+
17+
diff --git a/main.go b/main.go
18+
index 7125ff2..d9f1406 100644
19+
--- a/main.go
20+
+++ b/main.go
21+
@@ -1,8 +1,8 @@
22+
package main
23+
24+
import (
25+
+ "github.com/cyrilgdn/terraform-provider-postgresql/postgresql"
26+
"github.com/hashicorp/terraform-plugin-sdk/v2/plugin"
27+
- "github.com/terraform-providers/terraform-provider-postgresql/postgresql"
28+
)
29+
30+
func main() {

patches/0001-fork.patch

Lines changed: 0 additions & 82 deletions
This file was deleted.

provider/cmd/pulumi-resource-postgresql/schema.json

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@
102102
"type": "string",
103103
"description": "Specify the expected version of PostgreSQL.\n"
104104
},
105+
"gcpIamImpersonateServiceAccount": {
106+
"type": "string",
107+
"description": "Service account to impersonate when using GCP IAM authentication.\n"
108+
},
105109
"host": {
106110
"type": "string",
107111
"description": "Name of PostgreSQL server address to connect to\n"
@@ -351,6 +355,10 @@
351355
"type": "string",
352356
"description": "Specify the expected version of PostgreSQL.\n"
353357
},
358+
"gcpIamImpersonateServiceAccount": {
359+
"type": "string",
360+
"description": "Service account to impersonate when using GCP IAM authentication.\n"
361+
},
354362
"host": {
355363
"type": "string",
356364
"description": "Name of PostgreSQL server address to connect to\n"
@@ -438,6 +446,10 @@
438446
"type": "string",
439447
"description": "Specify the expected version of PostgreSQL.\n"
440448
},
449+
"gcpIamImpersonateServiceAccount": {
450+
"type": "string",
451+
"description": "Service account to impersonate when using GCP IAM authentication.\n"
452+
},
441453
"host": {
442454
"type": "string",
443455
"description": "Name of PostgreSQL server address to connect to\n"
@@ -492,6 +504,10 @@
492504
"type": "boolean",
493505
"description": "If `false` then no one can connect to this\ndatabase. The default is `true`, allowing connections (except as restricted by\nother mechanisms, such as `GRANT` or `REVOKE CONNECT`).\n"
494506
},
507+
"alterObjectOwnership": {
508+
"type": "boolean",
509+
"description": "If `true`, the change of the database\n`owner` will also include a reassignment of the ownership of preexisting\nobjects like tables or sequences from the previous owner to the new one.\nIf set to `false` (the default), then the previous database `owner` will still\nhold the ownership of the objects in that database. To alter existing objects in\nthe database, you must be a direct or indirect member of the specified role, or\nthe username in the provider must be superuser.\n"
510+
},
495511
"connectionLimit": {
496512
"type": "integer",
497513
"description": "How many concurrent connections can be\nestablished to this database. `-1` (the default) means no limit.\n"
@@ -544,6 +560,10 @@
544560
"type": "boolean",
545561
"description": "If `false` then no one can connect to this\ndatabase. The default is `true`, allowing connections (except as restricted by\nother mechanisms, such as `GRANT` or `REVOKE CONNECT`).\n"
546562
},
563+
"alterObjectOwnership": {
564+
"type": "boolean",
565+
"description": "If `true`, the change of the database\n`owner` will also include a reassignment of the ownership of preexisting\nobjects like tables or sequences from the previous owner to the new one.\nIf set to `false` (the default), then the previous database `owner` will still\nhold the ownership of the objects in that database. To alter existing objects in\nthe database, you must be a direct or indirect member of the specified role, or\nthe username in the provider must be superuser.\n"
566+
},
547567
"connectionLimit": {
548568
"type": "integer",
549569
"description": "How many concurrent connections can be\nestablished to this database. `-1` (the default) means no limit.\n"
@@ -592,6 +612,10 @@
592612
"type": "boolean",
593613
"description": "If `false` then no one can connect to this\ndatabase. The default is `true`, allowing connections (except as restricted by\nother mechanisms, such as `GRANT` or `REVOKE CONNECT`).\n"
594614
},
615+
"alterObjectOwnership": {
616+
"type": "boolean",
617+
"description": "If `true`, the change of the database\n`owner` will also include a reassignment of the ownership of preexisting\nobjects like tables or sequences from the previous owner to the new one.\nIf set to `false` (the default), then the previous database `owner` will still\nhold the ownership of the objects in that database. To alter existing objects in\nthe database, you must be a direct or indirect member of the specified role, or\nthe username in the provider must be superuser.\n"
618+
},
595619
"connectionLimit": {
596620
"type": "integer",
597621
"description": "How many concurrent connections can be\nestablished to this database. `-1` (the default) means no limit.\n"

sdk/dotnet/Config/Config.cs

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/Database.cs

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/dotnet/Provider.cs

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/go/postgresql/config/config.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/go/postgresql/database.go

Lines changed: 51 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)