Error putting object in S3 bucket example11225588 NoSuchBucket The specified bucket does not exist

0 votes

Hi Guys,

I am trying to create an S3 bucket and attach it with an EC2 instance using terraform. But I am getting this error.

Error putting object in S3 bucket (example11225588): NoSuchBucket: The specified bucket does not exist status code: 404, request id: 3F571A9D0A959884, host id: jBEuDHAz436PfDtPFp+uguppE8T//PX8kiuHgZEff7ILCBRFEwkFTSdAwvaKOyZTsue9+f/xcN0=      

Can anyone help me to resolve this error?

Jun 12, 2020 in Terraform by akhtar
• 38,260 points
6,245 views

1 answer to this question.

0 votes

Hi@akhtar,

You are trying to upload something in the s3 bucket. But the s3 bucket is not created. So create one s3 bucket manually or write code to create a s3 bucket.

answered Jun 12, 2020 by MD
• 95,460 points

Related Questions In Terraform

0 votes
1 answer

How to create a folder in S3 bucket using terraform?

Hi@akhtar, You can use aws_s3_bucket_object resource to create one ...READ MORE

answered Jun 11, 2020 in Terraform by MD
• 95,460 points
11,036 views
0 votes
1 answer

How to create one S3 bucket in AWS using Terraform?

Hi@akhtar, You need to set aws provider name ...READ MORE

answered Jul 23, 2020 in Terraform by MD
• 95,460 points
1,434 views
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

Error: Error putting object in S3 bucket (example11225588): AccessDenied: Access Denied

Hi@akhtar, To upload your file in the s3 ...READ MORE

answered Jun 11, 2020 in Terraform by MD
• 95,460 points
2,969 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP