Skip to content

Commit

Permalink
fix terraform apply error
Browse files Browse the repository at this point in the history
  • Loading branch information
sqin2019 committed Apr 6, 2023
1 parent 8a812f8 commit 4f6ab65
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions terraform/modules/jvs-services/cert-rotator.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,10 @@ module "cert_rotator_cloud_run" {
}

data "google_compute_default_service_account" "default" {
# Don't need compute service account if cloud scheduler is not created.
count = var.kms_key_rotation_minutes > 0 ? 1 : 0

project = var.project_id

# depends_on = [
# google_project_service.compute
# ]
}

resource "google_cloud_scheduler_job" "job" {
Expand Down

0 comments on commit 4f6ab65

Please sign in to comment.