Skip to content

Commit 378840c

Browse files
committed
Add edition to make mysql and pg examples work
1 parent 3f6f788 commit 378840c

File tree

4 files changed

+4
-0
lines changed
  • cloud_sql
    • mysql_instance_customer_managed_cas_ca
    • mysql_instance_google_managed_cas_ca
    • postgres_instance_customer_managed_cas_ca
    • postgres_instance_google_managed_cas_ca

4 files changed

+4
-0
lines changed

cloud_sql/mysql_instance_customer_managed_cas_ca/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ resource "google_sql_database_instance" "default" {
9393
region = "asia-northeast1"
9494
database_version = "MYSQL_8_4"
9595
settings {
96+
edition = "ENTERPRISE"
9697
tier = "db-f1-micro"
9798
ip_configuration {
9899
# The following server CA mode lets the instance use customer-managed CAS CA to issue server certificates.

cloud_sql/mysql_instance_google_managed_cas_ca/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ resource "google_sql_database_instance" "default" {
2020
region = "asia-northeast1"
2121
database_version = "MYSQL_8_4"
2222
settings {
23+
edition = "ENTERPRISE"
2324
tier = "db-f1-micro"
2425
ip_configuration {
2526
# The following server CA mode lets the instance use Google-managed CAS CA to issue server certificates.

cloud_sql/postgres_instance_customer_managed_cas_ca/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ resource "google_sql_database_instance" "default" {
9393
region = "asia-northeast1"
9494
database_version = "POSTGRES_17"
9595
settings {
96+
edition = "ENTERPRISE"
9697
tier = "db-f1-micro"
9798
ip_configuration {
9899
# The following server CA mode lets the instance use customer-managed CAS CA to issue server certificates.

cloud_sql/postgres_instance_google_managed_cas_ca/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ resource "google_sql_database_instance" "default" {
2020
region = "asia-northeast1"
2121
database_version = "POSTGRES_17"
2222
settings {
23+
edition = "ENTERPRISE"
2324
tier = "db-f1-micro"
2425
ip_configuration {
2526
# The following server CA mode lets the instance use Google-managed CAS CA to issue server certificates.

0 commit comments

Comments
 (0)