MediumConceptTerraform in teams
How do you reference outputs of another stack?
What a good answer covers
Use the terraform_remote_state data source, or better, read the real resource through a data source or a parameter store, to avoid coupling to state layout.
PreviousWhat is a Terraform backend configuration for S3 with DynamoDB?Next What does terraform state list and show do?