antonbabenko / terraform-best-practices

Terraform Best Practices free ebook translated into 🇬🇧🇦🇪🇧🇦🇧🇷🇫🇷🇬🇪🇩🇪🇬🇷🇮🇱🇮🇳🇮🇩🇮🇹🇰🇷🇵🇱🇷🇴🇨🇳🇪🇸🇹🇷🇺🇦🇵🇰
https://www.terraform-best-practices.com/
Other
2.06k stars 431 forks source link

Expand on data access across modules #14

Closed miguelaferreira closed 5 years ago

miguelaferreira commented 5 years ago

If I understood the idea correctly accessing data from different modules can be done with data sources (of there is a data source that retrieves what is needed), but in most cases one module outputs data via an output, and that data gets wired in to another module via it's variables. I changed the text to reflect that.

antonbabenko commented 5 years ago

Thanks, Miguel! That's right!

miguelaferreira commented 5 years ago

By the way @antonbabenko I'm reading your best practices for the first time and I'm loving it. I will use and reference it any project I do nowadays. Thanks for that.

antonbabenko commented 5 years ago

Great, it has been like this for almost a year, so it is time to update some parts of them. Don't hesitate to ask questions if something is missing or wrong.