Hi!
Is there any way, when using the framework, to get an attribute that can contain a two-dimensional List or Set as below? With a small caveat - no nested named elements.
Rather than thinking of this as a single two-dimensional data type, this would ideally be represented as a list of tuples.
The problem with that is that terraform-plugin-framework is missing support for tuples.
You could represent it as a list of lists of strings, if you wanted to. But it might be more idiomatic, and self-documenting, to change the representation to a list of objects:
mounts_list = [
{ alias = "my_alias.1", path = "/mnt1" },
{ alias = "my_alias.2", path = "/mnt2" },
]