hashicorp/hcp 0.102.0: Warning during Apply #3825
Labels
bug
Something isn't working
new
Un-triaged issue
pre-built providers
Issues around pre-built providers managed at https://github.com/hashicorp/cdktf-repository-manager
Expected Behavior
"hashicorp/hcp@~>0.0"
to mycdktf.json
.cdktf get
which places it in a localimports
directory.from imports.hcp.provider import HcpProvider
andHcpProvider(self, "HcpProvider")
cdktf apply
Actual Behavior
0.102.0
release) when I run mycdktf apply
I get:cdktf.out/stacks/<stack-name>/cdk.tf.json
:Steps to Reproduce
Versions
language: python
cdktf-cli: 0.20.11
node: v22.13.1
cdktf: 0.20.11
constructs: 10.4.2
jsii: 1.106.0
terraform: 1.10.5
arch: arm64
os: darwin 24.1.0
python: Python 3.13.1
pip: null
pipenv: pipenv, version 2024.4.1
providers
azurerm@
> 4.0 (LOCAL)>0.0 (LOCAL)terraform provider version: 4.18.0
hcp@
terraform provider version: 0.102.0
kubernetes@
> 2.0 (LOCAL)> 3.0 (LOCAL)terraform provider version: 2.35.1
random@
terraform provider version: 3.6.3
kreuzwerker/docker@~> 3.0 (LOCAL)
terraform provider version: undefined
Providers
┌────────────────────┬──────────────────┬───────┬────────────┬──────────────┬─────────────────┐
│ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │
├────────────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤
│ azurerm │ 4.18.0 │ │ ~> 4.0 │ │ │
├────────────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤
│ hcp │ 0.102.0 │ │ ~>0.0 │ │ │
├────────────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤
│ kubernetes │ 2.35.1 │ │ ~> 2.0 │ │ │
├────────────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤
│ random │ 3.6.3 │ │ ~> 3.0 │ │ │
├────────────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤
│ kreuzwerker/docker │ │ │ ~> 3.0 │ │ │
└────────────────────┴──────────────────┴───────┴────────────┴──────────────┴─────────────────┘
Gist
No response
Possible Solutions
I don't know enough about CDKTF to help much here. My guess would be it is unable to parse the JSON because it has no arguments passed and is empty.
Workarounds
Ignore the warning.
Anything Else?
No response
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: