Skip to content

Commit 06c94ec

Browse files
authored
ensure unique resource names
1 parent 62fd85a commit 06c94ec

File tree

1 file changed

+2
-2
lines changed
  • cloud_sql/sqlserver_instance_pitr

1 file changed

+2
-2
lines changed

cloud_sql/sqlserver_instance_pitr/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# [START cloud_sql_sqlserver_instance_enterprise_plus_pitr]
1818
# Creates a SQL SERVER Enterprise Plus edition instance. Unless specified otherwise, PITR is enabled by default.
19-
resource "google_sql_database_instance" "default" {
19+
resource "google_sql_database_instance" "enterprise_plus" {
2020
name = "sqlserver-enterprise-plus-instance-pitr"
2121
region = "asia-northeast1"
2222
database_version = "SQLSERVER_2019_ENTERPRISE"
@@ -37,7 +37,7 @@ resource "google_sql_database_instance" "default" {
3737
# [START cloud_sql_sqlserver_instance_enterprise_pitr]
3838
# Creates a SQL SERVER Enterprise edition instance with PITR enabled. Unless specified otherwise,
3939
# PITR is disabled by default.
40-
resource "google_sql_database_instance" "default" {
40+
resource "google_sql_database_instance" "enterprise" {
4141
name = "sqlserver-enterprise-instance-pitr"
4242
region = "asia-northeast1"
4343
database_version = "SQLSERVER_2019_ENTERPRISE"

0 commit comments

Comments
 (0)