Skip to content

Commit 8ba52ce

Browse files
committed
avoid using the MCP acronym
1 parent 4a436f3 commit 8ba52ce

File tree

4 files changed

+40
-39
lines changed

4 files changed

+40
-39
lines changed

cloud_sql/mysql_instance_mcp/main.tf renamed to cloud_sql/mysql_instance_managed_connection_pooling/main.tf

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
# [START cloud_sql_mysql_instance_mcp_creation]
18-
resource "google_sql_database_instance" "mysql_mcp_creation" {
19-
name = "mysql-instance-mcp-creation"
17+
# [START cloud_sql_mysql_instance_managed_connection_pooling_creation]
18+
# This example shows creating an instance with Managed Connection Pooling.
19+
resource "google_sql_database_instance" "mysql_managed_connection_pooling_creation" {
20+
name = "mysql-instance-managed-connection-pooling-creation"
2021
region = "us-central1"
2122
database_version = "MYSQL_8_0"
2223
deletion_protection = false
@@ -29,12 +30,12 @@ resource "google_sql_database_instance" "mysql_mcp_creation" {
2930
}
3031
}
3132
}
32-
# [END cloud_sql_mysql_instance_mcp_creation]
33+
# [END cloud_sql_mysql_instance_managed_connection_pooling_creation]
3334

34-
# [START cloud_sql_mysql_instance_mcp_enable]
35-
# This example shows creating an instance with MCP enabled and custom flags set.
36-
resource "google_sql_database_instance" "mysql_mcp_enable" {
37-
name = "mysql-instance-mcp-enable"
35+
# [START cloud_sql_mysql_instance_managed_connection_pooling_enable]
36+
# This example shows creating an instance with Managed Connection Pooling enabled and custom flags set.
37+
resource "google_sql_database_instance" "mysql_managed_connection_pooling_enable" {
38+
name = "mysql-instance-managed-connection-pooling-enable"
3839
region = "us-central1"
3940
database_version = "MYSQL_8_0"
4041
deletion_protection = false
@@ -47,12 +48,12 @@ resource "google_sql_database_instance" "mysql_mcp_enable" {
4748
}
4849
}
4950
}
50-
# [END cloud_sql_mysql_instance_mcp_enable]
51+
# [END cloud_sql_mysql_instance_managed_connection_pooling_enable]
5152

52-
# [START cloud_sql_mysql_instance_mcp_modify]
53-
# This example shows modifying the flags of an existing MCP configuration.
54-
resource "google_sql_database_instance" "mysql_mcp_modify" {
55-
name = "mysql-instance-mcp-modify"
53+
# [START cloud_sql_mysql_instance_managed_connection_pooling_modify]
54+
# This example shows modifying the flags of an existing Managed Connection Pooling configuration.
55+
resource "google_sql_database_instance" "mysql_managed_connection_pooling_modify" {
56+
name = "mysql-instance-managed-connection-pooling-modify"
5657
region = "us-central1"
5758
database_version = "MYSQL_8_0"
5859
deletion_protection = false
@@ -69,12 +70,12 @@ resource "google_sql_database_instance" "mysql_mcp_modify" {
6970
}
7071
}
7172
}
72-
# [END cloud_sql_mysql_instance_mcp_modify]
73+
# [END cloud_sql_mysql_instance_managed_connection_pooing_modify]
7374

74-
# [START cloud_sql_mysql_instance_mcp_disable]
75-
# This example shows disabling MCP on an existing instance.
76-
resource "google_sql_database_instance" "mysql_mcp_disable" {
77-
name = "mysql-instance-mcp-disable"
75+
# [START cloud_sql_mysql_instance_managed_connection_pooling_disable]
76+
# This example shows disabling Managed Connection Pooling on an existing instance.
77+
resource "google_sql_database_instance" "mysql_managed_connection_pooling_disable" {
78+
name = "mysql-instance-managed-connection-pooling-disable"
7879
region = "us-central1"
7980
database_version = "MYSQL_8_0"
8081
deletion_protection = false
@@ -83,9 +84,9 @@ resource "google_sql_database_instance" "mysql_mcp_disable" {
8384
tier = "db-perf-optimized-N-2"
8485
edition = "ENTERPRISE_PLUS"
8586
connection_pool_config {
86-
# Set to false to disable MCP. You can also remove the block entirely.
87+
# Set to false to disable Managed Connection Pooling. You can also remove the block entirely.
8788
connection_pooling_enabled = false
8889
}
8990
}
9091
}
91-
# [END cloud_sql_mysql_instance_mcp_disable]
92+
# [END cloud_sql_mysql_instance_managed_connection_pooling_disable]

cloud_sql/mysql_instance_mcp/test.yaml renamed to cloud_sql/mysql_instance_managed_connection_pooling/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
apiVersion: blueprints.cloud.google.com/v1alpha1
1616
kind: BlueprintTest
1717
metadata:
18-
name: sql_mysql_instance_mcp
18+
name: sql_mysql_instance_managed_connection_pooling
1919
spec:
2020
skip: true

cloud_sql/postgres_instance_mcp/main.tf renamed to cloud_sql/postgres_instance_managed_connection_pooling/main.tf

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
# [START cloud_sql_postgres_instance_mcp_creation]
18-
resource "google_sql_database_instance" "postgres_mcp_creation" {
19-
name = "postgres-instance-mcp-creation"
17+
# [START cloud_sql_postgres_instance_managed_connection_pooling_creation]
18+
resource "google_sql_database_instance" "postgres_managed_connection_pooling_creation" {
19+
name = "postgres-instance-managed-connection-pooling-creation"
2020
region = "us-central1"
2121
database_version = "POSTGRES_16"
2222
deletion_protection = false
@@ -29,11 +29,11 @@ resource "google_sql_database_instance" "postgres_mcp_creation" {
2929
}
3030
}
3131
}
32-
# [END cloud_sql_postgres_instance_mcp_creation]
32+
# [END cloud_sql_postgres_instance_managed_connection_pooling_creation]
3333

34-
# [START cloud_sql_postgres_instance_mcp_enable]
35-
resource "google_sql_database_instance" "postgres_mcp_enable" {
36-
name = "postgres-instance-mcp-enable"
34+
# [START cloud_sql_postgres_instance_managed_connection_pooling_enable]
35+
resource "google_sql_database_instance" "postgres_managed_connection_pooling_enable" {
36+
name = "postgres-instance-managed-connection-pooling-enable"
3737
region = "us-central1"
3838
database_version = "POSTGRES_16"
3939
deletion_protection = false
@@ -46,11 +46,11 @@ resource "google_sql_database_instance" "postgres_mcp_enable" {
4646
}
4747
}
4848
}
49-
# [END cloud_sql_postgres_instance_mcp_enable]
49+
# [END cloud_sql_postgres_instance_managed_connection_pooling_enable]
5050

51-
# [START cloud_sql_postgres_instance_mcp_modify]
52-
resource "google_sql_database_instance" "postgres_mcp_modify" {
53-
name = "postgres-instance-mcp-modify"
51+
# [START cloud_sql_postgres_instance_managed_connection_pooling_modify]
52+
resource "google_sql_database_instance" "postgres_managed_connection_pooling_modify" {
53+
name = "postgres-instance-managed-connection-pooling-modify"
5454
region = "us-central1"
5555
database_version = "POSTGRES_16"
5656
deletion_protection = false
@@ -67,11 +67,11 @@ resource "google_sql_database_instance" "postgres_mcp_modify" {
6767
}
6868
}
6969
}
70-
# [END cloud_sql_postgres_instance_mcp_modify]
70+
# [END cloud_sql_postgres_instance_managed_connection_pooling_modify]
7171

72-
# [START cloud_sql_postgres_instance_mcp_disable]
73-
resource "google_sql_database_instance" "postgres_mcp_disable" {
74-
name = "postgres-instance-mcp-disable"
72+
# [START cloud_sql_postgres_instance_managed_connection_pooling_disable]
73+
resource "google_sql_database_instance" "postgres_managed_connection_pooling_disable" {
74+
name = "postgres-instance-managed-connection-pooling-disable"
7575
region = "us-central1"
7676
database_version = "POSTGRES_16"
7777
deletion_protection = false
@@ -80,9 +80,9 @@ resource "google_sql_database_instance" "postgres_mcp_disable" {
8080
tier = "db-perf-optimized-N-2"
8181
edition = "ENTERPRISE_PLUS"
8282
connection_pool_config {
83-
# Set to false to disable MCP. You can also remove the block entirely.
83+
# Set to false to disable Managed Connection Pooling. You can also remove the block entirely.
8484
connection_pooling_enabled = false
8585
}
8686
}
8787
}
88-
# [END cloud_sql_postgres_instance_mcp_disable]
88+
# [END cloud_sql_postgres_instance_managed_connection_pooling_disable]

cloud_sql/postgres_instance_mcp/test.yaml renamed to cloud_sql/postgres_instance_managed_connection_pooling/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
apiVersion: blueprints.cloud.google.com/v1alpha1
1616
kind: BlueprintTest
1717
metadata:
18-
name: sql_postgres_instance_mcp
18+
name: sql_postgres_instance_managed_connection_pooling
1919
spec:
2020
skip: true

0 commit comments

Comments
 (0)