Skip to content

Commit 0cd74e6

Browse files
authored
Fix the terraform destroy failures (#301)
*Description of changes:* Fix the terraform destroy failures By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 75ba392 commit 0cd74e6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/node-lambda-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,6 @@ jobs:
218218
cd ${{ env.TEST_RESOURCES_FOLDER }}/terraform/node/lambda/lambda && terraform destroy -auto-approve \
219219
-var="sdk_layer_name=AWSOpenTelemetryDistroJs-${{ github.run_id }}" \
220220
-var="function_name=${{env.TERRAFORM_LAMBDA_FUNCTION_NAME}}" \
221-
-var="layer_artifacts_directory=${{ env.ARTIFACTS_DIR }}"
221+
-var="layer_artifacts_directory=${{ env.ARTIFACTS_DIR }}" \
222+
-var="region=${{ env.E2E_TEST_AWS_REGION }}" \
223+
-var="is_canary=${{ env.IS_CANARY }}"

.github/workflows/python-lambda-test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,4 +244,6 @@ jobs:
244244
cd ${{ env.TEST_RESOURCES_FOLDER }}/terraform/python/lambda/lambda && terraform destroy -auto-approve \
245245
-var="sdk_layer_name=AWSOpenTelemetryDistroPython-${{ github.run_id }}" \
246246
-var="function_name=${{env.TERRAFORM_LAMBDA_FUNCTION_NAME}}" \
247-
-var="layer_artifacts_directory=${{ env.ARTIFACTS_DIR }}"
247+
-var="layer_artifacts_directory=${{ env.ARTIFACTS_DIR }}" \
248+
-var="region=${{ env.E2E_TEST_AWS_REGION }}" \
249+
-var="is_canary=${{ env.IS_CANARY }}"

0 commit comments

Comments
 (0)