Hi@akhtar,
You need to set aws provider name in your Terraform code. So that Terraform can authenticate with your AWS account. I have attached one example for your reference. You can use the below code to create a bucket.
resource "aws_s3_bucket" "b" {
bucket = "my_tf_test_bucket"
acl = "private"
}