Skip to content

Commit 428ad95

Browse files
ScottSuarezBBBmau
authored andcommitted
validate template syntax needed (GoogleCloudPlatform#13929)
1 parent 9baa845 commit 428ad95

File tree

4 files changed

+27
-459
lines changed

4 files changed

+27
-459
lines changed

mmv1/third_party/terraform/services/compute/resource_compute_network_attachment_test.go.tmpl

Lines changed: 0 additions & 204 deletions
This file was deleted.

mmv1/third_party/terraform/services/iambeta/resource_iam_workload_identity_pool_test.go.tmpl renamed to mmv1/third_party/terraform/services/iambeta/resource_iam_workload_identity_pool_test.go

File renamed without changes.

mmv1/third_party/terraform/services/secretmanager/resource_secret_manager_secret_test.go

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ func TestAccSecretManagerSecret_import(t *testing.T) {
2525
Config: testAccSecretManagerSecret_basic(context),
2626
},
2727
{
28-
ResourceName: "google_secret_manager_secret.secret-basic",
29-
ImportState: true,
30-
ImportStateVerify: true,
28+
ResourceName: "google_secret_manager_secret.secret-basic",
29+
ImportState: true,
30+
ImportStateVerify: true,
3131
ImportStateVerifyIgnore: []string{"ttl", "labels", "terraform_labels"},
3232
},
3333
},
@@ -54,9 +54,9 @@ func TestAccSecretManagerSecret_cmek(t *testing.T) {
5454
Config: testAccSecretMangerSecret_cmek(context1),
5555
},
5656
{
57-
ResourceName: "google_secret_manager_secret.secret-basic",
58-
ImportState: true,
59-
ImportStateVerify: true,
57+
ResourceName: "google_secret_manager_secret.secret-basic",
58+
ImportState: true,
59+
ImportStateVerify: true,
6060
ImportStateVerifyIgnore: []string{"ttl", "labels", "terraform_labels"},
6161
},
6262
},
@@ -79,27 +79,27 @@ func TestAccSecretManagerSecret_annotationsUpdate(t *testing.T) {
7979
Config: testAccSecretManagerSecret_annotationsBasic(context),
8080
},
8181
{
82-
ResourceName: "google_secret_manager_secret.secret-with-annotations",
83-
ImportState: true,
84-
ImportStateVerify: true,
82+
ResourceName: "google_secret_manager_secret.secret-with-annotations",
83+
ImportState: true,
84+
ImportStateVerify: true,
8585
ImportStateVerifyIgnore: []string{"ttl", "labels", "terraform_labels", "annotations"},
8686
},
8787
{
8888
Config: testAccSecretManagerSecret_annotationsUpdate(context),
8989
},
9090
{
91-
ResourceName: "google_secret_manager_secret.secret-with-annotations",
92-
ImportState: true,
93-
ImportStateVerify: true,
91+
ResourceName: "google_secret_manager_secret.secret-with-annotations",
92+
ImportState: true,
93+
ImportStateVerify: true,
9494
ImportStateVerifyIgnore: []string{"ttl", "labels", "terraform_labels", "annotations"},
9595
},
9696
{
9797
Config: testAccSecretManagerSecret_annotationsBasic(context),
9898
},
9999
{
100-
ResourceName: "google_secret_manager_secret.secret-with-annotations",
101-
ImportState: true,
102-
ImportStateVerify: true,
100+
ResourceName: "google_secret_manager_secret.secret-with-annotations",
101+
ImportState: true,
102+
ImportStateVerify: true,
103103
ImportStateVerifyIgnore: []string{"ttl", "labels", "terraform_labels", "annotations"},
104104
},
105105
},
@@ -122,36 +122,36 @@ func TestAccSecretManagerSecret_versionAliasesUpdate(t *testing.T) {
122122
Config: testAccSecretManagerSecret_basicWithSecretVersions(context),
123123
},
124124
{
125-
ResourceName: "google_secret_manager_secret.secret-basic",
126-
ImportState: true,
127-
ImportStateVerify: true,
125+
ResourceName: "google_secret_manager_secret.secret-basic",
126+
ImportState: true,
127+
ImportStateVerify: true,
128128
ImportStateVerifyIgnore: []string{"ttl", "labels", "terraform_labels"},
129129
},
130130
{
131131
Config: testAccSecretManagerSecret_versionAliasesBasic(context),
132132
},
133133
{
134-
ResourceName: "google_secret_manager_secret.secret-basic",
135-
ImportState: true,
136-
ImportStateVerify: true,
134+
ResourceName: "google_secret_manager_secret.secret-basic",
135+
ImportState: true,
136+
ImportStateVerify: true,
137137
ImportStateVerifyIgnore: []string{"ttl", "labels", "terraform_labels"},
138138
},
139139
{
140140
Config: testAccSecretManagerSecret_versionAliasesUpdate(context),
141141
},
142142
{
143-
ResourceName: "google_secret_manager_secret.secret-basic",
144-
ImportState: true,
145-
ImportStateVerify: true,
143+
ResourceName: "google_secret_manager_secret.secret-basic",
144+
ImportState: true,
145+
ImportStateVerify: true,
146146
ImportStateVerifyIgnore: []string{"ttl", "labels", "terraform_labels"},
147147
},
148148
{
149149
Config: testAccSecretManagerSecret_basicWithSecretVersions(context),
150150
},
151151
{
152-
ResourceName: "google_secret_manager_secret.secret-basic",
153-
ImportState: true,
154-
ImportStateVerify: true,
152+
ResourceName: "google_secret_manager_secret.secret-basic",
153+
ImportState: true,
154+
ImportStateVerify: true,
155155
ImportStateVerifyIgnore: []string{"ttl", "labels", "terraform_labels"},
156156
},
157157
},

0 commit comments

Comments
 (0)