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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -