1 回答
- 最新
- 投票最多
- 评论最多
2
Make sure the Lambda function's execution role has the necessary permissions to access the SSM parameter, specifying the correct resource ARN in the policy and confirm that the Lambda function and the SSM parameter are in the same region.
You should have a policy similar to this attached to the role:
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "ssm:GetParameter" ], "Resource": "arn:aws:ssm:<region>:<account-id>:parameter/test/shared" } ] }
相关内容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
I am running into the same issue but don't know how to reference the shared ssm parameter arn into the CF Template