Martin Atkins

Results 1242 comments of Martin Atkins

Hi @Nuru! Thanks for sharing this use-case. Unfortunately I don't think exactly what you've proposed is an appropriate answer to the use-case: `{}` cannot be considered as a subtype of...

In order for `v.enabled` to work as you showed in your first example, the following would need to be true: * `v` has an attribute named `enabled` * `v.enabled` is...

Thanks for the extra context, @Nuru. I thought you were intending `v` to be the empty object, not `local.obj`. It isn't a goal of the Terraform language to help you...

Hi @archoversight! Thanks for sharing this use-case. Although you are right that there isn't a generalized mechanism for dynamically transforming instance keys using arbitrary expressions, you mentioned as part of...

I think the fact that we're using contrived "example" names is making this a bit harder to follow and so we're talking past each other a little. The example `moved`...

Thanks for the additional context! I think at this point we have a good understanding of what use-cases are missing today, and the remaining problem is that we have no...

Hi @deitChi, For that example I suggest thinking of it as two moves along a chain of addresses, rather than as two independent moves to the same final location. ```hcl...

Hi @mforeman19! Thanks for reporting this. Looking at this part of your example: ```hcl concat(local.list_object_a, local.list_object_b) ``` These two lists seem to have different element types, so they cannot be...

Thanks for trying that @mforeman19! Based on that "panic" it seems like we've found a bug in the implementation of the `concat` function where it's _trying_ to behave as you...

An empty list can still have an element type, which is the type that its elements would have if it were not empty. For example, if you declare an input...