mirror of https://github.com/hashicorp/terraform
In order to allow for type constraints to be inserted into arbitrary expressions using the `convert` function, we need to allow for the use of primitive type names. Previously `string`, `number`, `bool`, and `any` would be considered as incomplete resource references, because there are no constraints on what providers can name resources. However because you cannot use a standalone resource type name as a reference in HCL, we can make an exception here for when these identifiers are not part of a longer traversal.pull/38160/head
parent
4f97ef67ee
commit
31237fe968
Loading…
Reference in new issue