Closed noah-kaufman-aem closed 1 week ago
Thanks for the report @noah-kaufman-aem!
I believe https://github.com/hashicorp/vscode-terraform/issues/1869 already covers this, so I'm going to close this as a duplicate to keep the conversation in one place.
Extension Version
v2.33.0
VS Code Version
Version: 1.95.2 (user setup) Commit: e8653663e8840adaf45af01eab5c627a5af81807 Date: 2024-11-07T11:07:22.054Z Electron: 32.2.1 ElectronBuildId: 10427718 Chromium: 128.0.6613.186 Node.js: 20.18.0 V8: 12.8.374.38-electron.0 OS: Windows_NT x64 10.0.26100
Operating System
Windows 11
Terraform Version
v1.9.5
Steps to Reproduce
Set up the Cloudflare provider, and then attempt to define a subdomain on a DNS zone like this:
resource "cloudflare_zone" "product_domain" { account_id = "insert-account-id-here" zone = "subdomain.myzone.com" type = "full" }
The Terraform plug-in will highlight this syntax as being incorrect and will suggest syntax that will not pass a "terraform validate" command. This is the CORRECT syntax, and the suggested syntax is wrong.
Expected Behavior
The plug-in should indicate that this syntax is correct.
Actual Behavior
The syntax is marked as incorrect.
Terraform Configuration
No response
Project Structure
No response
Gist
No response
Anything Else?
No response
Workarounds
NONE.
References
No response
Help Wanted
Community Note