Skip to content

Commit

Permalink
Update layers.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
sonu-96 authored Jul 30, 2024
1 parent 5bea882 commit 989e56a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/layers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,11 @@ jobs:
--layer-name enigma_layer \
--content S3Bucket=enigma.webledger.in,S3Key=layer.zip \
--compatible-runtimes nodejs16.x,nodejs18.x,nodejs20.x \
--Compatible-architectures x86_64,arm64\
--Compatible-architectures x86_64,arm64 \
--query Version \
--output text)
echo "::set-output name=layer_version::$LAYER_VERSION"
- name: Add Tags to Lambda Layer
run: |
aws lambda tag-resource \
--resource arn:aws:lambda:${{ secrets.AWS_REGION }}:$(aws sts get-caller-identity --query Account --output text):layer:enigma_layer:${{ steps.create_layer.outputs.layer_version }} \
--tags Key1=Value1 Key2=Value2
- name: Update Lambda function with new layer
run: |
aws lambda update-function-configuration \
Expand Down

0 comments on commit 989e56a

Please sign in to comment.