diff --git a/.github/workflows/node-ecs-test.yml b/.github/workflows/node-ecs-test.yml index 980e71117..627d66233 100644 --- a/.github/workflows/node-ecs-test.yml +++ b/.github/workflows/node-ecs-test.yml @@ -97,6 +97,14 @@ jobs: role-to-assume: arn:aws:iam::${{ env.ACCOUNT_ID }}:role/${{ env.E2E_TEST_ROLE_NAME }} aws-region: ${{ env.E2E_TEST_AWS_REGION }} + - name: Set up terraform + uses: ./.github/workflows/actions/execute_and_retry + with: + command: "wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg" + post-command: 'echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list + && sudo apt update && sudo apt install terraform' + sleep_time: 60 + - name: Initiate Terraform uses: ./.github/workflows/actions/execute_and_retry with: @@ -272,4 +280,4 @@ jobs: -var="sample_app_image=${{ env.MAIN_SAMPLE_APP_IMAGE_URI }}" \ -var="sample_remote_app_image=${{ env.REMOTE_SAMPLE_APP_IMAGE_URI }}" \ -var="adot_instrumentation_image=${{ env.ADOT_INSTRUMENTATION_IMAGE_URI }}" \ - -var="cwagent_image=${{ env.CWAGENT_IMAGE_URI }}" \ No newline at end of file + -var="cwagent_image=${{ env.CWAGENT_IMAGE_URI }}"