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
No warning are displayed (none did in version prior to 0.33.0). Terraform applies this configuration as expected with no errors.
Actual Behavior
Problem listed for the following line:
Line: [for local in artifactory_local_debian_repository.local: local.key],
Error: No declaration found for "local.key"
Gist
No response
Workarounds
Changing [for local in artifactory_local_debian_repository.local: local.key], to [for local_repo in artifactory_local_debian_repository.local: local_repo.key], removes the problem.
References
No response
Help Wanted
I'm interested in contributing a fix myself
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment
The text was updated successfully, but these errors were encountered:
Language Server Version
v0.33.0
Terraform Version
Terraform v1.8.0 on linux_amd64
Client Version
VSCode 1.87.0
Terraform Configuration
Steps to Reproduce
main.tf
with the above contentExpected Behavior
No warning are displayed (none did in version prior to 0.33.0). Terraform applies this configuration as expected with no errors.
Actual Behavior
Problem listed for the following line:
Line:
[for local in artifactory_local_debian_repository.local: local.key],
Error:
No declaration found for "local.key"
Gist
No response
Workarounds
Changing
[for local in artifactory_local_debian_repository.local: local.key],
to[for local_repo in artifactory_local_debian_repository.local: local_repo.key],
removes the problem.References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: