Skip to content

Commit

Permalink
Fix Create Environment agent version for Serverless (#2547)
Browse files Browse the repository at this point in the history
fix: using the input version for serverless

Co-authored-by: Dmitry Gurevich <[email protected]>
Co-authored-by: eyalkraft <[email protected]>
  • Loading branch information
3 people authored Oct 10, 2024
1 parent f0b6a89 commit beb0270
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/test-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,6 @@ jobs:
run: |
# Extract the stack version
stack_version="${{ inputs.elk-stack-version }}"
is_serverless_mode="${{ inputs.serverless_mode }}"
if [[ $is_serverless_mode == "true" ]]; then
# Stack version is not relevant for serverless deployments
# Therefore, we set it to the latest snapshot version
stack_version="${{ env.ELK_VERSION }}"
fi
echo "TF_VAR_stack_version=$stack_version" >> $GITHUB_ENV
echo "STACK_VERSION=$stack_version" >> $GITHUB_ENV
Expand Down

0 comments on commit beb0270

Please sign in to comment.