terraform - Managing multiple configurations which depend on a singleton shared resource -


i have multiple different services each have own terraform configuration create resources (in particular case, bigquery table each service).

each of these services depends on existence of single instance of resource (in case, bigquery dataset).

i somehow configure terraform shared resource created once if not exist.

my first thought use modules, leads each root service attempting create own instance of shared resource due module namespacing.

ideally mark 1 directory of terraform configuration dependent on directory of terraform configuration, without importing latter directory module. possible?


Comments

Popular posts from this blog

javascript - Create a stacked percentage column -

Optimising Firebase database by automatically overwriting data -

javascript - Angular UI-Grid customTemplate directive causing rows to load slowly/? -