Skip to content

Commit aa289e7

Browse files
fix(google_sql_database_instance): Connection Pool requires Enterprise Plus (#15107)
1 parent 7f60c4b commit aa289e7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

mmv1/third_party/terraform/services/sql/resource_sql_database_instance_test.go.tmpl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5470,7 +5470,8 @@ resource "google_sql_database_instance" "instance" {
54705470
database_version = "POSTGRES_16"
54715471
deletion_protection = false
54725472
settings {
5473-
tier = "db-perf-optimized-N-2"
5473+
tier = "db-perf-optimized-N-2"
5474+
edition = "ENTERPRISE_PLUS"
54745475
connection_pool_config {
54755476
connection_pooling_enabled = true
54765477
flags {

mmv1/third_party/terraform/website/docs/r/sql_database_instance.html.markdown

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,12 @@ resource "google_sql_database_instance" "main" {
176176
### Cloud SQL Instance with Managed Connection Pooling
177177
```hcl
178178
resource "google_sql_database_instance" "instance" {
179-
name: = "mcp-enabled-main-instance"
179+
name = "mcp-enabled-main-instance"
180180
region = "us-central1"
181181
database_version = "POSTGRES_16"
182182
settings {
183-
tier = "db-perf-optimized-N-2"
183+
tier = "db-perf-optimized-N-2"
184+
edition = "ENTERPRISE_PLUS"
184185
connection_pool_config {
185186
connection_pooling_enabled = true
186187
flags {

0 commit comments

Comments
 (0)