S3 by using random provider on Terraform
This is a piece of cake for most of you that are working on tf, I will drop this snippet code where you can create a S3 bucket with an unique name; as you know those requirements should fit in order to create the S3, hence we can use random_string, also we can use random_id, on this case I used random_string. main.tf resource "random_string" "randomz" { length = 8 lower = true special = false upper = false } Above is a resource block where its block label is random_string I defined the block body in that way in order to fit the S3’s requirements....