Skip to content

Commit 7b82731

Browse files
authored
Allow gha to publish version and update alias (#11)
1 parent d72144e commit 7b82731

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: data.tf

+4
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ data "aws_iam_policy_document" "update_lambda" {
2424

2525
actions = [
2626
"lambda:UpdateFunctionCode",
27+
"lambda:UpdateFunctionConfiguration",
28+
"lambda:UpdateAlias",
29+
"lambda:PublishVersion",
30+
"lambda:PublishLayerVersion"
2731
]
2832
resources = ["arn:aws:lambda:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:function:${var.function_prefix}*"]
2933
}

0 commit comments

Comments
 (0)