2 Answers
- Newest
- Most votes
- Most comments
1
Does you IAM user have the correct permissions to create an S3 resource? Example below:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1692883010969",
"Action": [
"s3:CreateBucket"
],
"Effect": "Allow",
"Resource": "arn:aws:s3:::${BucketName}/${KeyName}."
}
]
}
1
Hello.
Check the bucket policy of the target S3 bucket to see if "putobject" is denied.
You should also make sure that the required policies are attached to the IAM users and IAM roles you are using.
Relevant content
- Accepted Answerasked 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago