Quantcast
Channel: Terraform - HashiCorp Discuss
Viewing all articles
Browse latest Browse all 11363

How do you manage the configuration variables if you separate terraform projects into multiple configurations?

$
0
0

So I was suggested to take a global, multi-region, single terraform configuration with thousands of resources, and break it into global, then region + environment isolated sub-configurations. And then run those independently.

But how do you plugin and manage the configuration variables between the configurations? Like say my global configuration sets up a Global Accelerator in AWS, and my region ones set up individual regions. I then want my Global Accelerator to be configured with each region’s load balancer. How do I efficiently manage passing these configuration variables around if they are now separate terraform projects?

I first would run the region code, to generate a region. Then I would run the global code with the region load balancer ID to set up the global environment. But how do you effectively do this?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 11363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>