From ebae051dbb3f3dcfb868f17661543d09280e5662 Mon Sep 17 00:00:00 2001 From: Xinran Zhang <xinranzh@amazon.com> Date: Thu, 22 Aug 2024 16:48:55 -0700 Subject: [PATCH] Fix asg --- .github/workflows/dotnet-ec2-asg-e2e-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-ec2-asg-e2e-test.yml b/.github/workflows/dotnet-ec2-asg-e2e-test.yml index 4b5a60190..7210d829a 100644 --- a/.github/workflows/dotnet-ec2-asg-e2e-test.yml +++ b/.github/workflows/dotnet-ec2-asg-e2e-test.yml @@ -104,13 +104,13 @@ jobs: - name: Initiate Terraform uses: ./.github/workflows/actions/execute_and_retry with: - command: "cd ${{ env.TEST_RESOURCES_FOLDER }}/terraform/dotnet/ec2/default && terraform init && terraform validate" + command: "cd ${{ env.TEST_RESOURCES_FOLDER }}/terraform/dotnet/ec2/asg && terraform init && terraform validate" cleanup: "rm -rf .terraform && rm -rf .terraform.lock.hcl" max_retry: 6 sleep_time: 60 - name: Deploy sample app via terraform and wait for endpoint to come online - working-directory: terraform/dotnet/ec2/default + working-directory: terraform/dotnet/ec2/asg run: | # Attempt to deploy the sample app on an EC2 instance and wait for its endpoint to come online. # There may be occasional failures due to transitivity issues, so try up to 2 times.