Skip to content

Commit

Permalink
fix: increase time for ACM when using policy bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody committed Jun 1, 2023
1 parent 48005bd commit 5b93085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/acm/creds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ resource "tls_private_key" "k8sop_creds" {
rsa_bits = 4096
}

# Wait for the ACM operator to create the namespace
# Wait for ACM
resource "time_sleep" "wait_acm" {
count = (var.create_ssh_key == true || var.ssh_auth_key != null || var.enable_policy_controller || var.enable_config_sync) ? 1 : 0
depends_on = [google_gke_hub_feature_membership.main]

create_duration = "300s"
create_duration = (length(var.policy_bundles) > 0) ? "600s" : "300s"
}

resource "google_service_account_iam_binding" "ksa_iam" {
Expand Down

0 comments on commit 5b93085

Please sign in to comment.