I\'m trying to create a module in Terraform that can be instantiated multiple times with different variable inputs. Within the module, how do I reference resources when their na
I was fundamentally misunderstanding how modules worked.
Terraform does not support interpolation in resource names (see the relevant issues), but that doesn't matter in my case, because the resources of each instance of a module are in the instance's namespace. I was worried about resource names colliding, but the module system already handles that.