Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
add 'make sam-get-layer-version-policy' support
Browse files Browse the repository at this point in the history
  • Loading branch information
pahud committed Jun 1, 2019
1 parent ca9071a commit 59490f1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ sam-layer-add-version-permission:
--action lambda:GetLayerVersion \
--principal '*'

.PHONY: sam-get-layer-version-policy
sam-get-layer-version-policy:
@aws --profile=$(AWS_PROFILE) --region $(LAMBDA_REGION) lambda get-layer-version-policy \
--layer-name $(LAYER_NAME) \
--version-number $(LATEST_LAYER_VER)

.PHONY: sam-layer-add-version-permission-latest
sam-layer-add-version-permission-latest:
@aws --profile=$(AWS_PROFILE) --region $(LAMBDA_REGION) lambda add-layer-version-permission \
Expand Down

0 comments on commit 59490f1

Please sign in to comment.