I am trying to setup a BucketNotification to invoke a lambda on object creation. I am getting this error:
error putting S3 Bucket Notification Configuration: InvalidArgument: Unable to validate the following destination configurations
From what I have read so far, it could because the bucket doesn't have permission to invoke lambda. How do I give this permission via Pulumi golang. My bucket is imported from an existing bucket created outside of pulumi.