Terraform DAY 35 : VPC Variable Setup Using Terraform

I recently completed Terraform Day 35 , but while checking the confirmation, I encountered an error stating that main.tf and variable.tf files do not exist.

This is quite confusing because if those files were truly missing, it wouldn’t have been possible to execute the Terraform commands successfully during the lab. Despite completing all the required steps, I’m still seeing this error message.

I’ve attached a screenshot for your reference. It’s a bit frustrating to face this issue even after completing the exercise correctly.

Could you please help me understand why this error is occurring and assist in resolving it?

Thank you for your support.


Hi @durganaresh1742

I’ve just checked it and it’s worked properly. Could you please try again and let me know if it persists?


e

Hi @raymond.baoly

Thanks for your response. It worked fine on the second attempt.

However, I’m still a bit confused about why it failed the first time even though I had completed all the steps and successfully ran the Terraform commands. That’s what I’m trying to understand.

Could you please help clarify what might have caused the initial failure?

Thanks again for your support!

Based on your screenshot, you created a variable.tf file missing the “s”.