Skip to content

Commit a589409

Browse files
Remove PostgreSQL (#526)
* Remove postgresql service * Update index
1 parent 349ed98 commit a589409

12 files changed

Lines changed: 1 addition & 1049 deletions

File tree

docs/data-sources/postgresql_credential.md

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

docs/data-sources/postgresql_instance.md

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

docs/resources/postgresql_credential.md

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

docs/resources/postgresql_instance.md

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

go.mod

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ require (
2323
github.com/stackitcloud/stackit-sdk-go/services/observability v0.1.0
2424
github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.18.0
2525
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v0.15.0
26-
github.com/stackitcloud/stackit-sdk-go/services/postgresql v0.12.1
2726
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.19.0
2827
github.com/stackitcloud/stackit-sdk-go/services/redis v0.19.0
2928
github.com/stackitcloud/stackit-sdk-go/services/resourcemanager v0.9.0

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,6 @@ github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.18.0 h1:pzHA3sxaAs
173173
github.com/stackitcloud/stackit-sdk-go/services/opensearch v0.18.0/go.mod h1:ZecMIf9oYj2DGZqWh93l97WdVaRdLl+tW5Fq3YKGwBM=
174174
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v0.15.0 h1:05wQYhO37Z4y8xAD+4OTYz6rYu6eJEmwMfCG4tjETEc=
175175
github.com/stackitcloud/stackit-sdk-go/services/postgresflex v0.15.0/go.mod h1:SdrqGLCkilL6wl1+jcxmLtks2IocgIg+bsyeyYUIzR4=
176-
github.com/stackitcloud/stackit-sdk-go/services/postgresql v0.12.1 h1:u2jNFPPLM2TlpM1qUu1UuG9XKx/EYPjwg2nJqAK1HUY=
177-
github.com/stackitcloud/stackit-sdk-go/services/postgresql v0.12.1/go.mod h1:rTbdB/rl+e9o9sJNrT3yMIaSNVBGqR5G2Vh4opKrEwo=
178176
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.19.0 h1:qZ62GSQKw73JrS7a9WeGILMki26KNyqrMOmD8r41u/A=
179177
github.com/stackitcloud/stackit-sdk-go/services/rabbitmq v0.19.0/go.mod h1:eSgnPBknTJh7t+jVKN+xzeAh+Cg1USOlH3QCyfvG20g=
180178
github.com/stackitcloud/stackit-sdk-go/services/redis v0.19.0 h1:/s9GUIpwZTN6I7J4nKmBBmxc6lPJYpCHHxYsC+gDsZs=

stackit/internal/services/postgresflex/instance/resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ func (r *instanceResource) ImportState(ctx context.Context, req resource.ImportS
496496

497497
resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("project_id"), idParts[0])...)
498498
resp.Diagnostics.Append(resp.State.SetAttribute(ctx, path.Root("instance_id"), idParts[1])...)
499-
tflog.Info(ctx, "Postgresql instance state imported")
499+
tflog.Info(ctx, "Postgresql Flex instance state imported")
500500
}
501501

502502
func mapFields(ctx context.Context, resp *postgresflex.InstanceResponse, model *Model, flavor *flavorModel, storage *storageModel) error {

0 commit comments

Comments
 (0)