L1 : T1 Terraform Apply take forever for aws_key_pair creation

I wrote the code, did terraform init, terraform validate, then terraform plan and then apply.
However aws_key_pair generation takes forever and never completes. Tried the question 2-3 times, same error.

Thus, not able to complete the task.

Is it that I need to put --endpoint http://aws:4566 along with terraform apply ???

Hi @dee_rajak

Could you please try this again?
I just verified, and the task completes and validates accordingly.

Make sure to name the key-pair as required in the task. In your screenshot, the key pair name is misspelled.

thanks @Santosh_KodeKloud, I get it.