Skip to content

Commit 1341908

Browse files
committed
fix: increase time for poco/cs to be ready
1 parent 48005bd commit 1341908

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/acm/creds.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ resource "tls_private_key" "k8sop_creds" {
3030
rsa_bits = 4096
3131
}
3232

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

38-
create_duration = "300s"
38+
create_duration = (var.enable_policy_controller || var.enable_config_sync) ? "600s" : "300s"
3939
}
4040

4141
resource "google_service_account_iam_binding" "ksa_iam" {

0 commit comments

Comments
 (0)