I tried this but seem to have a formatting issue. I’d like to grant read/write access to three existing buckets, new-image-bucket, baseline-image-bucket, delta-image-bucket. I’ve updated serverless.yml like so:
- - "arn:aws:s3:::new-image-bucket"
- - "arn:aws:s3:::baseline-image-bucket"
- - "arn:aws:s3:::delta-image-bucket"
- - Ref: AWS::AccountId
- Ref: AWS::Region
When I attempt to deploy, I get:
The CloudFormation template is invalid: Template error: every Fn::Join object requires two parameters, (1) a string delimiter and (2) a list of strings to be joined or a function that returns a list of strings (such as Fn::GetAZs) to be joined.