diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index df667ad..150483c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -84,7 +84,7 @@ jobs: id: action run: | cd tf - terraform apply -auto-approve -var function-stage=${{ env.stage }} -var lambda-zip-path=${{ env.version_file }} + terraform apply -auto-approve -var function_stage=${{ env.stage }} -var lambda_zip_path=${{ env.version_file }} echo "API_GATEWAY_URL=$(terraform output -raw api_gateway_url)" >> $GITHUB_OUTPUT test: diff --git a/.github/workflows/destroy.yml b/.github/workflows/destroy.yml index a69995f..f2082f2 100644 --- a/.github/workflows/destroy.yml +++ b/.github/workflows/destroy.yml @@ -55,4 +55,4 @@ jobs: id: action run: | cd tf - terraform destroy -auto-approve -var function-stage=${{ inputs.stage }} -var lambda-zip-path=this_file_doesnt_exist.zip \ No newline at end of file + terraform destroy -auto-approve -var function_stage=${{ inputs.stage }} -var lambda_zip_path=this_file_doesnt_exist.zip \ No newline at end of file