I'm trying to define my terraform resource to the configuration in multiple steps, first adding backend, and later add required_version.
I'm not certain if this is a bug or feature request, but I would expect to be able to add the resource multiple times, and have the properties merged, similar to how I can add multiple resources of other types.
I'm trying to define my
terraform
resource to the configuration in multiple steps, first addingbackend
, and later addrequired_version
.I'm not certain if this is a bug or feature request, but I would expect to be able to add the resource multiple times, and have the properties merged, similar to how I can add multiple resources of other types.
My idea of how it would work is something like:
While currently you only get the latest added resource:
What differs here is that the
terraform
block is a simple dict, while for exampleprovider
contains a list for each type.