Skip to main content

[Spacelift.io] How to Share Terraform State (Tutorial)

·130 words·1 min

I’ve written a blog post on how to share Terraform state:

Keeping all your cloud infrastructure in a single Terraform configuration could be considered the happy path of Terraform development. This is often how you learn Terraform, following tutorials and performing your own private experiments.

Inside your mono-configuration, you can freely reference attributes of any resource when needed. Everything is simple. Real-life Terraform often involves multiple teams working on multiple Terraform configurations within the same larger context. Along with this way of working comes the need to share Terraform state between different configurations.

In this blog post, you will learn about Terraform state and how to share Terraform state between configurations. You will also learn about the best practices of Terraform state sharing.

Read more at spacelift.io

Mattias Fjellström
Author
Mattias Fjellström
Author · Microsoft MVP · AWS Community Builder · IBM Champion

Related