Terraform remote state — sharing information across state files

Travel Planner VIP
Level Up Coding
Published in
2 min readFeb 18, 2020

--

One really cool feature I used recently was sharing a terraform state across multiple terraform projects.

Here is an example of a structure I have used, which has worked well for me.

.
├── management
│ ├── outputs.tf
│ ├── route53.tf
│ └── vpc.tf
├── service-1
│ ├── api-gateway.tf
│ └── data.tf
└── service-2
├──…

--

--