In learn by doing terraform with AWS course - 4th exercise

in the 4 section creation of resource is not happening due to the subnet creation is missing .
Please let me know what is wrong in the below pic .

Please give me the solution

Could you please share the lab link and the question number? This will help us address your concerns more effectively.