Terraform Commands Lab question 6

I am unable to get this right even after checking the hint given to answer the question.

The key algorithm used by tls-cert-request is ECDSA but the private-key is of type RSA is the hint. I changed the key algorithm to RSA but it still doesn’t work. I looked up for answers online on the terraform website too but I am unable to understand what needs to be done to make this work.
Can someone help me here?