Error: Error putting S3 policy: AccessDenied: Access Denied
Jump to navigation
Jump to search
Error: Error putting S3 policy: AccessDenied: Access Denied
aws_s3_bucket_policy.allow_public_access[0]: Creating... ╷ │ Error: Error putting S3 policy: AccessDenied: Access Denied │ status code: 403, request id: FMM572342423, host id: 245de+R34234242 │ │ with aws_s3_bucket_policy.allow_public_access[0], │ on yourbucket.tf line 11, in resource "aws_s3_bucket_policy" "allow_public_access": │ 11: resource "aws_s3_bucket_policy" "allow_public_access" { │ ╵ ERRO[0003] Terraform invocation failed in /path/to/your/code/buckets ERRO[0003] 1 error occurred: /path/to/your/code/buckets exit status 1
Solution: remove from console block to be public
How do I troubleshoot the error "You don't have permissions to edit bucket policy" when I try to modify a bucket policy in Amazon S3?
Advertising: