diff --git a/buildspec/build_deploy.yaml b/buildspec/build_deploy.yaml index bf98b5b9c..3fbfae8b0 100644 --- a/buildspec/build_deploy.yaml +++ b/buildspec/build_deploy.yaml @@ -53,7 +53,7 @@ phases: - echo ${CODEBUILD_SRC_DIR} - ECS_ENV="${ENV}" - | - if [ "$ENV" = "prod" && "$ENV" = "devpre" ]; then + if [ "$ENV" = "prod" || "devpre" ]; then CLUSTER_NAME="qppa-${ENV}-api-ecs" else CLUSTER_NAME="${ENV}-api-ecs"