Skip to content

VS Code uses 250% CPU when it discovered an "error" (works in version of provider, does not work in the later version of provider). #1824

@periwinkleFTW

Description

@periwinkleFTW

Extension Version

v2.32.2

VS Code Version

Version: 1.92.1 (Universal)
Commit: eaa41d57266683296de7d118f574d0c2652e1fc4
Date: 2024-08-07T20:16:39.455Z
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.5.0

Operating System

macOS Sonoma 14.5

Terraform Version

Terraform v1.5.0

Behavior

Opening a file that contains definitions that do not work between versions cause VS Code to hog too many resources

Steps to Reproduce

resource "google_secret_manager_secret" "ingestion_service_account_key_secret" {
secret_id = "account-key-83t53gj"
project = var.project
replication {
automatic = true
}
}

Terraform Configuration

# This configuration works in tf 1.5.0 but for some reason terraform extension freaks out

resource "google_secret_manager_secret" "ingestion_service_account_key_secret" {
  secret_id = "account-key-83t53gj"
  project   = var.project
  replication {
    automatic = true
  }
}

Project Structure

No response

Gist

No response

Anything Else?

No response

References

No response

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions