The terraform output command shows outputs from child modules.
A.
True
B.
False
The Answer Is:
B
This question includes an explanation.
Explanation:
Rationale for Correct Answer: terraform output shows the root module’s outputs (the outputs defined in the current working directory’s root module). Outputs from child modules are not directly listed unless the root module re-exports them via its own output blocks (e.g., output "child_public_ip" { value = module.child.public_ip }).
Analysis of Incorrect Options (Distractors):
A (True): Incorrect because child module outputs are accessible via module..
Key Concept: Module outputs scope: child outputs must be exposed through root outputs to be shown by terraform output.
[Reference: Terraform Objectives — Interact with Terraform Modules (inputs/outputs and module composition), Understand Terraform Basics and CLI (terraform output behavior)., , ]
Terraform-Associate-004 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"