How to create S3 bucket using Terraform | Terraform AWS Cloud Tutorial

preview_player
Показать описание
Learn how to create s3 bucket in AWS using Terraform. In this video I will explain how you can setup and create S3 bucket in Terraform using code example.


Terraform is an insfrastructure as code tool used to create resources on different providers like AWS, Azure, GCP and other providers.

#terraform code
resource "aws_s3_bucket" "b" {
bucket = "my-tf-test-bucket12312"
acl = "private"

versioning {
enabled = true
}

tags = {
Name = "My bucket"
Environment = "Dev"
}
}

--------------------------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------------------------
#aws #terraform

create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo,create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo
create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo
create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo
,create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo
create s3 bucket using terraform,create aws s3 bucket using terraform,s3 bucket terraform,s3 bucket terraform example,terraform s3 bucket creation,terraform s3 bucket example,how to create s3 bucket using terraform,terraform s3 bucket module,create s3 using terraform,create aws s3 bucket,s3 bucket in aws terraform,aws s3 bucket tutorial terraform,how to create s3 bucket in aws using terraform in telugu,terraform tutorial,s3 bucket terraform code,s3 terraform demo
Рекомендации по теме
Комментарии
Автор

Excelent, but if I want to create an S3 bucket to save my terraform state How I can do? If i put this in my terraform config It will try to create the same S3 bucket in every commit or not?

luismontero
Автор

Perfect! Thank you for sharing this aws s3 video

gamingchamp
Автор

what if I want to update the only tags of already existing s3 bucket like new tag needs to be updated

bhavikattipraveen
Автор

It's great to learn so much from your videos :) By the way, I have one doubt .
what If someone from the developer team modifies or deletes the resource without our knowledge.
When we run Terraform apply, what will happen?

vinaykumar-pjce
Автор

Very helpful and have questions how to turn on termination option EC2 by terraform

durgeshverma
Автор

hi when I try to create that I recieve

creating Amazon S3 (Simple Storage) Bucket (yucelfuatbucket): AccessDenied: Access Denied

I add permission to my aws user to create s3 bucket but I still get this error. Please help

yucel
Автор

Very useful content. I just don't understand why content creators have to work and talk so fast. Just slow it down some.

git_tv
Автор

you are using old syntax, bucket acl should be a separate resource, it was in the documentation in front of you, same with bucket lifecycle rules

KoljaMineralka
Автор

there was a obvious deprecation note there, how did you ignore that?

kasirbarati
Автор

But how u connected the terraform with aws? wtf?

MrMadmaggot
welcome to shbcf.ru