CDKTF convert: Internal Error: unexpected array #3526
Labels
bug
Something isn't working
priority/important-soon
High priority, to be worked on as part of our current release or the following one.
Expected Behavior
--> providing the Go file with the code generated according to the OVH provider (https://registry.terraform.io/providers/ovh/ovh/latest)
Actual Behavior
Executing the covert command cause an error:
Internal Error: unexpected array
Steps to Reproduce
execute
$ echo 'resource "ovh_cloud_project_kube" "my_kube_cluster" { name = "my_kube_cluster_cdktf" region = "GRA7" }' | cdktf convert --language go --provider 'ovh/ovh'
Show the error message
Versions
language: typescript
cdktf-cli: 0.20.3
node: v20.11.1
cdktf: 0.20.4
constructs: 10.3.0
jsii: null
terraform: 1.5.7
arch: x64
os: linux 6.1.75-060175-generic
Providers
┌───────────────┬──────────────────┬───────┬────────────┬──────────────┬─────────────────┐
│ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │
├───────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤
│ ovh/ovh │ 0.37.0 │ │ ~>0.37.0 │ │ │
└───────────────┴──────────────────┴───────┴────────────┴──────────────┴─────────────────┘
Gist
No response
Possible Solutions
No response
Workarounds
No response
Anything Else?
No response
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: