State Farm interview question

Interpret both node and terraform code.