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

From wikieduonline
Jump to navigation Jump to search
 
(5 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 from console block to be public
+
  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?]]
+
== Related ==
 +
* [[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 ==
 +
* {{aws_s3_bucket_policy}}
  
 
+
[[Category:AWS]]
 
 
{{aws_s3_bucket_policy}}
 

Latest revision as of 06:25, 20 June 2024

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


Related[edit]

See also[edit]

Advertising: