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

You are authoring a reusable module named 'network' that provisions a VPC and subnets. The parent (root) configuration needs to reference the VPC ID created inside the module so it can pass that value to a separate 'compute' module. Inside the 'network' module, the VPC is defined as 'resource "aws_vpc" "main"'. What must you do so the root configuration can access the VPC ID?

Reviewed for accuracy · Report an issueNext question