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.
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.