How do I get values from a resource in another module

When posting code, please consider the guidance in Welcome to the forum - please reformat your message - don’t make your readers have to read your code with no indentation.

Try to provide potential answerers with a clear understanding of how your configuration is set up. The link to the tutorial does not accomplish this - it is far too long and it is unclear which bit of it you might be referring to.

Posting your own Terraform configuration as a GitHub repo that you link to is an effective way to show configurations containing multiple directories.

You haven’t shown the code so I’m not sure, but this sounds dangerously like an antipattern to me. Too many people seem to somehow come up with the idea that they should separate every little thing into its own module. Teams, and who is in the teams, are pretty closely related concepts.