mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
only load env vars to lambda during deployment if they are provided
This commit is contained in:
parent
dda05a4f33
commit
aff3113d52
1 changed files with 3 additions and 1 deletions
4
.github/workflows/_deploy_lambda.yml
vendored
4
.github/workflows/_deploy_lambda.yml
vendored
|
|
@ -88,7 +88,9 @@ jobs:
|
|||
-var="lambda_name=${{ inputs.lambda_name }}" \
|
||||
-var="ecr_repo_url=${{ steps.repo.outputs.ecr_repo_url }}" \
|
||||
-var="image_digest=${{ inputs.image_digest }}" \
|
||||
-var="environment_vars=${{ inputs.environment_vars }}" \
|
||||
$(if [ -n "${{ inputs.environment_vars }}" ]; then
|
||||
echo "-var=\"environment_vars=${{ inputs.environment_vars }}\""
|
||||
fi) \
|
||||
-out=lambdaplan
|
||||
|
||||
- name: Terraform Apply
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue