Terraform EC2 (Root Block device Encryption error failing to reach target state )

This error is been in the head for over 10 days.

While creating an EC2 Instance in terraform the Instance won’t reach the target state and says

│ Error: Error waiting for instance (i-*************) to become ready: Failed to reach target state. Reason: Client.InternalError: Client error on launch

And also we have encryption of new EBS Volumes enabled in our EC2 dashboard.

And my basic EC2 Code looks like this.

resource “aws_instance” “web” {
ami = “ami-"
instance_type = “t2.micro”
availability_zone = “ap-south-1a”
root_block_device {
volume_size = “10”
volume_type = “gp2”
delete_on_termination = true
encrypted = true
kms_key_arn = "arn:aws:kms:
*************”
}
}