🔥 3-day streak
HashiCorp Certified: Terraform Associate (004)55 / 150
Question 55 of 150

You maintain a reusable module named 'network' that provisions a VPC and subnets. In your root configuration, you write `subnet_id = module.network.private_subnet_id`, but `terraform plan` fails with an error saying the module has no output named 'private_subnet_id'. The subnet resource clearly exists inside the module's files. What is the correct fix?

Reviewed for accuracy · Report an issueNext question