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?

Hello @MK1234

In this question, all you have to do is to change the key algorithm used for cert_request from “ECDSA” to “RSA” as shown in the screenshot below

but the most important is that you have not to forget to plan and apply by using those commands and it will work fine as shown.
terraform plan
terraform apply