Skip to content

Commit 068adfc

Browse files
committed
Version statement IDs too
1 parent a75173f commit 068adfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ publish:
2727

2828
.PHONY: public
2929
public:
30-
aws lambda add-layer-version-permission --layer-name ${AWS_LAYER_NAME} --version-number ${AWS_LAYER_VERSION} --statement-id "publicAccess" --principal "*" --action lambda:GetLayerVersion --region "${AWS_REGION}"
30+
aws lambda add-layer-version-permission --layer-name ${AWS_LAYER_NAME} --version-number ${AWS_LAYER_VERSION} --statement-id "${AWS_LAYER_NAME}-${AWS_LAYER_VERSION}-publicAccess" --principal "*" --action lambda:GetLayerVersion --region "${AWS_REGION}"
3131

3232
.PHONY: add
3333
add:

0 commit comments

Comments
 (0)