ned1313 / Deep-Dive-Terraform

Exercise files for my Pluralsight course.
197 stars 594 forks source link

terraform state show on a child module isn't working #32

Open khairaneMurad opened 4 months ago

khairaneMurad commented 4 months ago

The terraform state show ADDR isn't working on a child module: Example:

terraform state show module.main.aws_vpc.this[0]

Gives the bellow result:

no matches found: module.main.aws_vpc.this[0]

Is there a way to expose all VPC terraform instance information from root module ?