# Terraform-Associate — Question 426

**Type:** multiple_choice
**Topics:** topic_1

## Question

You have declared an input variable called environment in your parent module. What must you do to pass the value to a child module in the configuration?

## Correct Answer

_See scenario._

## Explanation

Selected Answer: C
C is correct as the question is about passing a variable. So if you want the parent to pass its output to its child you need to configure an input variable for that.
The name of the input variable makes no sense but maybe that is to emphasize on the fact that the name of the input variable is arbitrary.

"That module may call other modules and connect them together by passing output values from one to input values of another."
https://www.terraform.io/language/modules/develop

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/hashicorp/Terraform-Associate/426  
Practice (tracked): https://hiexam.net/study/Terraform-Associate/practice