Skip to content

Commit

Permalink
Remove unnecessary lifecycle ignore_changes from examples (#9571)
Browse files Browse the repository at this point in the history
  • Loading branch information
derrekbertrand authored Dec 14, 2023
1 parent 0c03a04 commit 05f4a8d
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,4 @@ resource "google_cloud_run_v2_job" "<%= ctx[:primary_resource_id] %>" {
}
}
}

lifecycle {
ignore_changes = [
launch_stage,
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,4 @@ resource "google_cloud_run_v2_job" "<%= ctx[:primary_resource_id] %>" {
}
}
}

lifecycle {
ignore_changes = [
launch_stage,
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,4 @@ resource "google_cloud_run_v2_job" "<%= ctx[:primary_resource_id] %>" {
}
}
}

lifecycle {
ignore_changes = [
launch_stage,
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ resource "google_cloud_run_v2_job" "<%= ctx[:primary_resource_id] %>" {
}
}

lifecycle {
ignore_changes = [
launch_stage,
]
}

depends_on = [
google_secret_manager_secret_version.secret-version-data,
google_secret_manager_secret_iam_member.secret-access,
Expand Down
6 changes: 0 additions & 6 deletions mmv1/templates/terraform/examples/cloudrunv2_job_sql.tf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ resource "google_cloud_run_v2_job" "<%= ctx[:primary_resource_id] %>" {
}
}
}

lifecycle {
ignore_changes = [
launch_stage,
]
}
}

data "google_project" "project" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ resource "google_cloud_run_v2_job" "<%= ctx[:primary_resource_id] %>" {
}
}
}

lifecycle {
ignore_changes = [
launch_stage,
]
}
}

resource "google_vpc_access_connector" "connector" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,4 @@ resource "google_cloud_run_v2_service" "<%= ctx[:primary_resource_id] %>" {
image = "us-docker.pkg.dev/cloudrun/container/hello"
}
}

lifecycle {
ignore_changes = [
launch_stage,
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,4 @@ resource "google_cloud_run_v2_service" "<%= ctx[:primary_resource_id] %>" {
}
}
}

lifecycle {
ignore_changes = [
launch_stage,
]
}
}

0 comments on commit 05f4a8d

Please sign in to comment.