data-yaml / vivos

Versioned Interoperability to Velocitize Open Science
Apache License 2.0
0 stars 0 forks source link

bug: DRIFT auto-add appropriate access to Role #21

Closed drernie closed 9 months ago

drernie commented 9 months ago
          # DRIFT

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

drernie commented 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);
drernie commented 9 months ago

NEEDS explicit ARN I don't know why