Amazon web services – Create a Terraform data for an s3 bucket that uses bucket_prefix
I have multiple Terraform projects, in project A I create a bucket like this: resource "aws_s3_bucket" "s3_bucket" { bucket_prefix = "s3-bucket-" } this create a bucket with a random characters in the ends: s3-bucket-20230927170795326300000001 Now I want to refer the…