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
|
|
@ -54,7 +54,6 @@ var (
|
|||
OpenSearchCustomEndpoint = os.Getenv("TF_ACC_OPENSEARCH_CUSTOM_ENDPOINT")
|
||||
ObservabilityCustomEndpoint = os.Getenv("TF_ACC_OBSERVABILITY_CUSTOM_ENDPOINT")
|
||||
ObjectStorageCustomEndpoint = os.Getenv("TF_ACC_OBJECTSTORAGE_CUSTOM_ENDPOINT")
|
||||
PostgreSQLCustomEndpoint = os.Getenv("TF_ACC_POSTGRESQL_CUSTOM_ENDPOINT")
|
||||
PostgresFlexCustomEndpoint = os.Getenv("TF_ACC_POSTGRESFLEX_CUSTOM_ENDPOINT")
|
||||
RabbitMQCustomEndpoint = os.Getenv("TF_ACC_RABBITMQ_CUSTOM_ENDPOINT")
|
||||
RedisCustomEndpoint = os.Getenv("TF_ACC_REDIS_CUSTOM_ENDPOINT")
|
||||
|
|
@ -221,21 +220,6 @@ func OpenSearchProviderConfig() string {
|
|||
)
|
||||
}
|
||||
|
||||
func PostgreSQLProviderConfig() string {
|
||||
if PostgreSQLCustomEndpoint == "" {
|
||||
return `
|
||||
provider "stackit" {
|
||||
region = "eu01"
|
||||
}`
|
||||
}
|
||||
return fmt.Sprintf(`
|
||||
provider "stackit" {
|
||||
postgresql_custom_endpoint = "%s"
|
||||
}`,
|
||||
PostgreSQLCustomEndpoint,
|
||||
)
|
||||
}
|
||||
|
||||
func PostgresFlexProviderConfig() string {
|
||||
if PostgresFlexCustomEndpoint == "" {
|
||||
return `
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue