Skip to content

Commit

Permalink
Increase wait_for_active_associate to try for 60 (#1371)
Browse files Browse the repository at this point in the history
This is because Pipeline is timingout to build EKS test cluser
  • Loading branch information
vijay-veeranki authored Sep 24, 2021
1 parent dfb017c commit 1b38acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/aws-accounts/cloud-platform-aws/vpc/eks/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ resource "null_resource" "wait_for_active_associate" {
variable "wait_for_active_associate_cmd" {
description = "Custom local-exec command to execute for determining if the associate identity provider is active. Cluster name will be available as an environment variable called CLUSTER"
type = string
default = "for i in `seq 1 50`; do if [[ `aws eks --region 'eu-west-2' describe-identity-provider-config --cluster-name $CLUSTER --identity-provider-config type='oidc',name='Auth0' --output json --query 'identityProviderConfig.oidc.status'` == '\"ACTIVE\"' ]]; then exit 0;else echo 'Checking again for active Auth0 association'; sleep 30;fi; done; echo 'TIMEOUT due to maximum retries to check for active Auth0 association'; exit 1"
default = "for i in `seq 1 60`; do if [[ `aws eks --region 'eu-west-2' describe-identity-provider-config --cluster-name $CLUSTER --identity-provider-config type='oidc',name='Auth0' --output json --query 'identityProviderConfig.oidc.status'` == '\"ACTIVE\"' ]]; then exit 0;else echo 'Checking again for active Auth0 association'; sleep 30;fi; done; echo 'TIMEOUT due to maximum retries to check for active Auth0 association'; exit 1"
}

variable "wait_for_active_associate_interpreter" {
Expand Down

0 comments on commit 1b38acb

Please sign in to comment.