Remove leftover Postgresql code and documentation (#527)
* Remove leftover postgresql code * Remove examples * revert go.mod * Revert loadbalancer doc
This commit is contained in:
parent
a58940981e
commit
fe777fd9bc
13 changed files with 19 additions and 71 deletions
|
|
@ -48,10 +48,10 @@ func (r *credentialDataSource) Configure(ctx context.Context, req datasource.Con
|
|||
|
||||
var apiClient *objectstorage.APIClient
|
||||
var err error
|
||||
if providerData.PostgreSQLCustomEndpoint != "" {
|
||||
if providerData.ObjectStorageCustomEndpoint != "" {
|
||||
apiClient, err = objectstorage.NewAPIClient(
|
||||
config.WithCustomAuth(providerData.RoundTripper),
|
||||
config.WithEndpoint(providerData.PostgreSQLCustomEndpoint),
|
||||
config.WithEndpoint(providerData.ObjectStorageCustomEndpoint),
|
||||
)
|
||||
} else {
|
||||
apiClient, err = objectstorage.NewAPIClient(
|
||||
|
|
|
|||
|
|
@ -330,7 +330,7 @@ func testAccCheckPostgresFlexDestroy(s *terraform.State) error {
|
|||
|
||||
instancesToDestroy := []string{}
|
||||
for _, rs := range s.RootModule().Resources {
|
||||
if rs.Type != "stackit_postgresql_instance" {
|
||||
if rs.Type != "stackit_postgresqlflex_instance" {
|
||||
continue
|
||||
}
|
||||
// instance terraform ID: = "[project_id],[instance_id]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue