Skip to content

Commit fba7c0f

Browse files
committed
update jobs test so it sets delete_protection from true to false
1 parent 0ff1047 commit fba7c0f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mmv1/third_party/terraform/services/cloudrunv2/resource_cloud_run_v2_job_test.go.erb

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func TestAccCloudRunV2Job_cloudrunv2JobFullUpdate(t *testing.T) {
2828
ResourceName: "google_cloud_run_v2_job.default",
2929
ImportState: true,
3030
ImportStateVerify: true,
31-
ImportStateVerifyIgnore: []string{"location", "launch_stage", "labels", "terraform_labels", "annotations", "deletion_protection"},
31+
ImportStateVerifyIgnore: []string{"location", "launch_stage", "labels", "terraform_labels", "annotations"},
3232
},
3333
{
3434
Config: testAccCloudRunV2Job_cloudrunv2JobFullUpdate(context),
@@ -48,7 +48,6 @@ func testAccCloudRunV2Job_cloudrunv2JobFull(context map[string]interface{}) stri
4848
resource "google_cloud_run_v2_job" "default" {
4949
name = "tf-test-cloudrun-job%{random_suffix}"
5050
location = "us-central1"
51-
deletion_protection = false
5251
labels = {
5352
label-1 = "value-1"
5453
}

0 commit comments

Comments
 (0)