Difference between revisions of "Error: Error putting S3 policy: AccessDenied: Access Denied"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
ERRO[0003] 1 error occurred: | ERRO[0003] 1 error occurred: | ||
/path/to/your/code/buckets exit status 1 | /path/to/your/code/buckets exit status 1 | ||
+ | |||
+ | Solution: remove from console block to be public | ||
Revision as of 11:44, 8 June 2023
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: