Anyone know if there is something special about setting up sns:Publish
on a ECS task role? I’ve tried both setting the permission on the task execution role and on the task role and I’m always getting an error message like so:
Aws::SNS::Errors::AuthorizationError - User: arn:aws:sts::xxx:assumed-role/<ec2_instance_role>/<ec2_instance_id> is not authorized to perform: SNS:Publish on resource: arn:aws:sns:<aws_region>:xxx:<topic_name> because no identity-based policy allows the SNS:Publish action