Terraform level 1 12th exercise is giving incorrect results

in kodekloud engineer in terraform level 1 question 12th with title Create Public S3 Bucket Using Terraform is giving error even after correct input please check and let me know if there are any issues with my code
Error: “dynamic-bucket-name public s3 bucket doesn’t exist”
main.tf file content:

resource "aws_s3_bucket" "xfusion-s3-30240" {
bucket = "xfusion-s3-30240"
}

resource "aws_s3_bucket_acl" "public" {
bucket = aws_s3_bucket.xfusion-s3-30240.id
acl = "public-read"
}

where bucket name is dynamic value mentioned task

Hi @thanmai

I just checked, and it worked fine for me. Can you share more details about your situation? Are you unsure where to find the bucket name?