You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we do not recognise "local" references within the dynamic block, such as setting.* in this example:
resource"aws_elastic_beanstalk_environment""tfenvtest" {
# ...dynamic"setting" {
for_each =var.settingscontent {
namespace = setting.value["namespace"] # HERE
name = setting.value["name"] # HERE
value = setting.value["value"] # HERE
}
}
}
This affects completion, hover, go-to-*, and semantic token highlighting.
What makes these local references different to other local references we already support (such as count.index, each.* and self.*) is that aside from the first segment, such as settings above, the rest of the address is fully dependent on interpolating the provided expression/variable inside for_each.
The text was updated successfully, but these errors were encountered:
Currently we do not recognise "local" references within the
dynamic
block, such assetting.*
in this example:This affects completion, hover, go-to-*, and semantic token highlighting.
What makes these local references different to other local references we already support (such as
count.index
,each.*
andself.*
) is that aside from the first segment, such assettings
above, the rest of the address is fully dependent on interpolating the provided expression/variable insidefor_each
.The text was updated successfully, but these errors were encountered: