hashicorp / learn-terraform-data-sources-vpc

https://learn.hashicorp.com/tutorials/terraform/data-sources?in=terraform/configuration-language
Mozilla Public License 2.0
5 stars 29 forks source link

Add vpc_id output #5

Closed iainbrux closed 1 year ago

iainbrux commented 2 years ago

When trying to perform the cleanup step within this tutorial https://developer.hashicorp.com/terraform/tutorials/certification-associate-tutorials/data-sources for the vpc, there is an error that vpc_id is not an attribute and fails the destroying of deployed services.

Thus, this output rectifies the issue.

robin-norwood commented 1 year ago

I've updated the provider and modules for this tutorial to the latest version, which fixes the issue.