From 0d96fa22e7eceb8c81b234e7e7970df4d8bf2100 Mon Sep 17 00:00:00 2001 From: Stephen Firrincieli Date: Tue, 14 Jul 2020 10:11:45 -0400 Subject: [PATCH] Use us-west-2 for installation test --- aws/logs_monitoring/tools/installation_test.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/aws/logs_monitoring/tools/installation_test.sh b/aws/logs_monitoring/tools/installation_test.sh index c10edba6c..bf0d1ef69 100755 --- a/aws/logs_monitoring/tools/installation_test.sh +++ b/aws/logs_monitoring/tools/installation_test.sh @@ -8,6 +8,9 @@ # Tests installation and deployment process of forwarder, and that CloudFormation template works. set -e +# Deploy the stack to a less commonly used region to avoid any problems with limits +AWS_REGION="us-west-2" + # Move into the root directory, so this script can be called from any directory DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" cd $DIR/.. @@ -43,12 +46,12 @@ echo "Setting params ${PARAM_LIST}" STACK_NAME="datadog-forwarder-integration-stack-${RUN_ID}" echo "Creating stack ${STACK_NAME}" aws cloudformation create-stack --stack-name $STACK_NAME --template-url $TEMPLATE_URL --capabilities "CAPABILITY_AUTO_EXPAND" "CAPABILITY_IAM" --on-failure "DELETE" \ - --parameters=$PARAM_LIST + --parameters=$PARAM_LIST --region $AWS_REGION echo "Waiting for stack to complete creation ${STACK_NAME}" -aws cloudformation wait stack-create-complete --stack-name $STACK_NAME +aws cloudformation wait stack-create-complete --stack-name $STACK_NAME --region $AWS_REGION echo "Completed stack creation" echo "Cleaning up stack" -aws cloudformation delete-stack --stack-name $STACK_NAME \ No newline at end of file +aws cloudformation delete-stack --stack-name $STACK_NAME --region $AWS_REGION \ No newline at end of file