remote state

Reading another configuration's output values from its state, using the terraform_remote_state data source.

In more detail

It lets one configuration use values another publishes, such as a network identifier. It requires read access to the other state, which also exposes every secret in it, so many teams prefer to share values through a dedicated store instead.

Related terms

Related guides

Taught in

References

Certification courses