Closed iarlyy closed 9 months ago
Hi there, thanks for the report! We can look into this after the holidays since the entire team is off until the new year.
In the meantime, I wonder if a workaround would be to try to generate the provider bindings locally rather than attempting to use the prebuilt package, as there's no zip file involved in the former. I know it's not an ideal solution because generating the bindings for the AWS provider will take quite a bit of time and memory, but it would at least unblock you and allow you to start writing code while we look to see if we can get the size of the Go provider down. You can always switch back to the prebuilt provider later when we've resolved the issue.
The easiest way to do that is to use cdktf provider add aws --force-local
. You can find more documentation and examples at https://cdk.tf/imports
Same problem here, the only solution was to downgrade to the 18.0.9 version
I'm going to lock this issue because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you've found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Expected Behavior
Able to add
aws
provider to my project and start crafting stacksActual Behavior
cdktf provider add aws
fails withmodule source tree too large
. I downloaded the zip file myself through github ui and after unpacking it found this:provider add
execution output:Steps to Reproduce
just run
cdktf provider add aws
, I triedv18.2.0
and18.1.0
Versions
v18.2.0
Providers
I am trying to add my first provider
Gist
No response
Possible Solutions
In the thread linked below, they discuss about the
docs
folder being bundled together, and i can confirm, this folder is1.1G
large for the go provider.https://github.com/hashicorp/terraform-cdk/issues/2829
Workarounds
No response
Anything Else?
No response
References
https://github.com/hashicorp/terraform-cdk/issues/2829
Help Wanted
Community Note