pulumi / pulumi-converter-terraform

Apache License 2.0
9 stars 3 forks source link

Support cyclic module instantiations #64

Open pgavlin opened 5 years ago

pgavlin commented 5 years ago

It is not an error to have cyclic references between module instantiations so long as the elaborated resource graph is itself acyclic. Because the current implementation of pulumi.Output captures its resource dependency list upon creation, there's no clean way for us to support this. The best we can do without changing pulumi.Output is to bundle the module cycle into its own combined module that contains the elaborated resource graph.

Frassle commented 1 year ago

The new converter might already support this but I don't think it's tested.