News for hackers. Stuff that matters.
Re:Terraform best practices for reliability at any scale by paulddraper on Friday August 04, 2023 @06:20PM (#37006654)
terraform_remote_state

The root module can have outputs just like any other module. These outputs can be accessed from other stacks from the backend.

And if you use CDKTF the references are handled transparently.

Re:Terraform best practices for reliability at any scale by robertlagrant on Saturday August 05, 2023 @03:50AM (#37009934)
Thanks - another good option! I seem to get slight shivers down my spine when I read terraform_remote_state, but I never actually used it, so I might be half-remembering an old opinionated blog post.