How to create one s3 bucket using terraform

0 votes
Hi Guys,

I am new in terraform. I want to create one s3 bucket using terraform. Can anyone help me how can I do this?
Jun 12, 2020 in Terraform by akhtar
• 38,260 points
3,907 views

1 answer to this question.

0 votes

Hi@akhtar,

You can use aws_s3_bucket resources to create one s3 bucket. I have attached one example for your reference.

resource "aws_s3_bucket" "bucketman" {
  bucket = "nadim72-bucket"
  acl = "public-read"

Hope this will help.

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

Related Questions In Terraform

0 votes
1 answer

How to create a folder inside S3 Bucket using Terraform code?

Hi@akhtar, You can create a folder at the ...READ MORE

answered Jul 23, 2020 in Terraform by MD
• 95,460 points
2,954 views
0 votes
1 answer

How to create one key in AWS using terraform?

Hi@akhtar, You can use aws_key_pair resource n terraform. ...READ MORE

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

How to block public access to S3 bucket using Terraform?

Hi@akhtar, To control the access of the S3 ...READ MORE

answered Sep 9, 2020 in Terraform by MD
• 95,460 points
13,717 views
0 votes
1 answer

How to copy the content of an s3 bucket to another s3 bucket using Terraform?

Hi@akhtar, There is no resource that enables the ...READ MORE

answered Sep 11, 2020 in Terraform by MD
• 95,460 points
5,089 views
0 votes
1 answer
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,405 views
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
10,965 views
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