I have a question about connection between serverless frame work and S3.
For details, I want to give lambda function permission to access S3bucket and put object.
yml file is below.
- Effect: "Allow"
- Effect: Allow
- s3: xxx
When I run this code, error happened. Error message is below
An error occurred while provisioning your stack: already exists in stack arn:aws:cloudformation:us-east-xxxstack/popcorn-serverless-dev/xxx
I wrote stackpolicy and AccessControl in order to avoid the error. Why this code output error??