Difference between revisions of "Error: Error putting S3 policy: AccessDenied: Access Denied"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
  Error: Error putting [[S3 policy]]: [[AccessDenied]]: [[Access Denied]]
+
  Error: Error putting [[S3 policy]]: [[AccessDenied: Access Denied]]
  
  
Line 16: Line 16:
 
    /path/to/your/code/buckets exit status 1
 
    /path/to/your/code/buckets exit status 1
  
  Solution: remove configuration from AWS S3 bucket to be public connecting to [[aws web console]]
+
  Solution: remove configuration from [[AWS S3 bucket]] to be [[public]] connecting to [[aws web console]]
  
  
Line 23: Line 23:
  
  
 +
== See also ==
 +
* {{aws_s3_bucket_policy}}
  
{{aws_s3_bucket_policy}}
+
[[Category:AWS]]

Latest revision as of 10:34, 19 October 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 configuration from AWS S3 bucket to be public connecting to aws web console


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?


See also[edit]

Advertising: