Câu 96: Terraform Associate: HashiCorp Certified
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?
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Add node_count = var.node_count
- B. Declare the variable in a terraform.tfvars file
- C. Declare a node_count input variable for child module — đáp án hiện tại
- D. Nothing, child modules inherit variables of parent module
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.