-
Notifications
You must be signed in to change notification settings - Fork 480
Open
Labels
Description
Expected Behavior
I can generate any provider with cdktf-cli
Actual Behavior
cdktf get
[2025-07-17T17:07:48.845] [INFO] default - Could not determine library version, skipping version compatibility check
⠸ downloading and generating modules and providers...
[2025-07-17T17:08:01.826] [ERROR] default - [2025-07-17T17:08:01.825] [ERROR] jsii/compiler - Compilation errors prevented the JSII assembly from being created
Error: non-zero exit code 1
at ChildProcess.<anonymous> (/tmp/examples/go/yc/node_modules/cdktf-cli/bundle/bin/cmds/handlers.js:102:34391)
at Object.onceWrapper (node:events:639:26)
at ChildProcess.emit (node:events:524:28)
at ChildProcess.emit (node:domain:489:12)
at maybeClose (node:internal/child_process:1104:16)
at Socket.<anonymous> (node:internal/child_process:456:11)
at Socket.emit (node:events:524:28)
at Socket.emit (node:domain:489:12)
at Pipe.<anonymous> (node:net:343:12) {
stderr: '[2025-07-17T17:08:01.825] [ERROR] jsii/compiler - Compilation errors prevented the JSII assembly from being created\n'
}
⠸ downloading and generating modules and providers...
Error: non-zero exit code 1
Steps to Reproduce
- Install
cdktf-cli
- Try to get latest version of
yandex-cloud/yandex@~> 0.145.0
provider - Got the error
Versions
cdktf debug
language: go
cdktf-cli: 0.21.0
node: v20.19.3
cdktf: github.com/hashicorp/terraform-cdk-go/cdktf
constructs: 10.4.2
jsii: 1.112.0
terraform: 1.5.7
arch: arm64
os: darwin 24.5.0
go: go version go1.24.2 darwin/arm64
providers
yandex-cloud/yandex@~> 0.145.0 (LOCAL)
Providers
┌─────────────────────┬──────────────────┬───────┬────────────┬──────────────┬─────────────────┐
│ Provider Name │ Provider Version │ CDKTF │ Constraint │ Package Name │ Package Version │
├─────────────────────┼──────────────────┼───────┼────────────┼──────────────┼─────────────────┤
│ yandex-cloud/yandex │ │ │ ~> 0.145.0 │ │ │
└─────────────────────┴──────────────────┴───────┴────────────┴──────────────┴─────────────────┘
Gist
No response
Possible Solutions
Add StringMapMap
class to the cdktf
as schema of the provider defined attribute with this type
"airflow_config": schema.MapAttribute{
ElementType: types.MapType{
ElemType: types.StringType,
},
...
},
Workarounds
No response
Anything Else?
No response
References
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