Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

COMPONENT: cdktf commands show error before synth #3898

@zamanh

Description

@zamanh

Expected Behavior

I should see no error when listing or deploying stacks

Actual Behavior

  • Errors are visible prior to deploying or listing stacks

Steps to Reproduce

  1. Attempt to deploy a stack
  2. Observe the error prior to synth

Versions

language: python
cdktf-cli: 0.21.0
node: v20.8.0
cdktf: 0.21.0
constructs: 10.4.2
jsii: 1.106.0
terraform: 1.9.8
arch: x64
os: linux 6.6.87.1-microsoft-standard-WSL2
python: Python 3.11.7
pip: pip 23.2.1 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)
pipenv: pipenv, version 2025.0.3
providers
jfrog/artifactory@> 12.9.5 (LOCAL)
terraform provider version: 12.9.5
jfrog/platform@
> 2.2.4 (LOCAL)
terraform provider version: 2.2.4
cdktf-cdktf-provider-null (PREBUILT)
terraform provider version: 3.2.4
prebuilt provider version: 11.0.0
cdktf version: ^0.21.0
cdktf-cdktf-provider-vault (PREBUILT)
terraform provider version: 5.0.0
prebuilt provider version: 15.0.0
cdktf version: ^0.21.0

Providers

│ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │
├───────────────────┼──────────────────┼─────────┼────────────┼────────────────────────────┼─────────────────┤
│ jfrog/artifactory │ 12.9.5 │ │ ~> 12.9.5 │ │ │
├───────────────────┼──────────────────┼─────────┼────────────┼────────────────────────────┼─────────────────┤
│ jfrog/platform │ 2.2.4 │ │ ~> 2.2.4 │ │ │
├───────────────────┼──────────────────┼─────────┼────────────┼────────────────────────────┼─────────────────┤
│ null │ 3.2.4 │ ^0.21.0 │ │ cdktf-cdktf-provider-null │ 11.0.0 │
├───────────────────┼──────────────────┼─────────┼────────────┼────────────────────────────┼─────────────────┤
│ vault │ 5.0.0 │ ^0.21.0 │ │ cdktf-cdktf-provider-vault │ 15.0.0 │
└───────────────────┴──────────────────┴─────────┴────────────┴────────────────────────────┴─────────────────┘

Gist

https://gist.github.com/zamanh/303e005c97eabffed1b0bcef160bc4d4

Possible Solutions

No response

Workarounds

No response

Anything Else?

  • Running in an internal deployment container
  • Has tooling like node etc installed on it

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingnewUn-triaged issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions