Skip to content

Plugin load crash - fetching organization information #2084

@gautambaghel

Description

@gautambaghel

Issue Description

VS code crashes when I try to load an organization, the error message I got

{
  "cause": {
    "issues": [
      {
        "received": "post_plan_awaiting_decision",
        "code": "invalid_enum_value",
        "options": [
          "pending",
          "fetching",
          "fetching_completed",
          "pre_plan_running",
          "pre_plan_completed",
          "queuing",
          "plan_queued",
          "planning",
          "planned",
          "cost_estimating",
          "cost_estimated",
          "policy_checking",
          "policy_override",
          "policy_soft_failed",
          "policy_checked",
          "confirmed",
          "post_plan_running",
          "post_plan_completed",
          "planned_and_finished",
          "apply_queued",
          "applying",
          "applied",
          "discarded",
          "errored",
          "canceled",
          "force_canceled"
        ],
        "path": [
          "included",
          3,
          "attributes",
          "status"
        ],
        "message": "Invalid enum value. Expected 'pending' | 'fetching' | 'fetching_completed' | 'pre_plan_running' | 'pre_plan_completed' | 'queuing' | 'plan_queued' | 'planning' | 'planned' | 'cost_estimating' | 'cost_estimated' | 'policy_checking' | 'policy_override' | 'policy_soft_failed' | 'policy_checked' | 'confirmed' | 'post_plan_running' | 'post_plan_completed' | 'planned_and_finished' | 'apply_queued' | 'applying' | 'applied' | 'discarded' | 'errored' | 'canceled' | 'force_canceled', received 'post_plan_awaiting_decision'"
      }
    ],
    "name": "ZodError"
  }
}

Environment Information

Terraform Information

Version: 1.12.2
Platform: darwin_arm64
Outdated: false

Visual Studio Code

Name Version
Operating System Darwin arm64 24.6.0
VSCode 1.103.0

Visual Studio Code Extensions

Visual Studio Code Extensions(Click to Expand)
Extension Author Version
ansible redhat 25.8.1
autodocstring njpwerner 0.6.1
azure-dev ms-azuretools 0.9.0
black-formatter ms-python 2025.2.0
cform aws-scripting-guy 0.0.24
codewhisperer-for-command-line-companion amazonwebservices 1.13.3
controls-dsl amazon 1.0.0
copilot GitHub 1.350.0
copilot-chat GitHub 0.30.1
csv-to-table phplasma 1.4.1
debugpy ms-python 2025.10.0
duffle-vscode ms-kubernetes-tools 0.3.0
EditorConfig EditorConfig 0.17.4
ember-snippets Exelord 1.11.1
EmberES6Snippets phanitejakomaravolu 2.3.3
emberjs EmberTooling 2.0.6
go golang 0.48.0
hcl hashicorp 0.6.0
isort ms-python 2025.0.0
jinja wholroyd 0.0.8
markdown-all-in-one yzhang 3.6.3
markdown-preview-enhanced shd101wyy 0.8.18
prettier-vscode esbenp 11.0.0
python ms-python 2025.12.0
python-environment-manager donjayamanne 1.2.7
python-extension-pack donjayamanne 1.7.0
sentinel hashicorp 0.3.0
terraform hashicorp 2.34.5
vscode-ai-foundry TeamsDevApp 0.8.0
vscode-azureappservice ms-azuretools 0.26.3
vscode-azurecontainerapps ms-azuretools 0.9.0
vscode-azurefunctions ms-azuretools 1.18.1
vscode-azureresourcegroups ms-azuretools 0.11.1
vscode-azurestaticwebapps ms-azuretools 0.13.1
vscode-azurestorage ms-azuretools 0.16.5
vscode-azurevirtualmachines ms-azuretools 0.6.9
vscode-containers ms-azuretools 2.1.0
vscode-django batisteo 1.15.0
vscode-ember EmberTooling 3.0.65
vscode-eslint dbaeumer 3.0.16
vscode-github-actions github 0.27.2
vscode-node-azure-pack ms-vscode 1.7.0
vscode-pull-request-github GitHub 0.116.1
vscode-stylelint stylelint 1.5.3
vscode-yaml redhat 1.18.0
windows-ai-studio ms-windows-ai-studio 0.18.3

Extension Logs

Find this from the first few lines of the relevant Output pane:
View -> Output -> 'HashiCorp Terraform'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions