Closed drernie closed 9 months ago
This was probably deleted by me at one point
const lambdaSNSPolicy = new PolicyStatement({
sid: 'VivosLambdaSNSPolicy',
actions: ['sns:Publish'],
resources: [this.statusTopic.topicArn],
});
lambdaRole.addToPolicy(lambdaSNSPolicy);
NEEDS explicit ARN I don't know why
Manually added AmazonSNSFullAccess to https://us-east-1.console.aws.amazon.com/iam/home?region=us-west-2#/roles/details/vivos-dev-vivoslambdarole9D9C002E-Q4tTPcluvrrI?section=permissions
Originally posted by @drernie in https://github.com/data-yaml/vivos/issues/19#issuecomment-1834232824