I need to use version 0.6.2 of the libvirt provider which is not available on the Terraform registry. I created an image with the provider binary in the location that
TF_PLUGIN_CACHE_DIR is set to by default.
/ # tree ~/.terraform.d/ /root/.terraform.d/ └── plugin-cache └── dmacvicar └── libvirt └── 0.6.2 └── linux_amd64 └── terraform-provider-libvirt 5 directories, 1 file
However when I run
cdktf get I recv the following error. It seems like cdktf-cli is attempting to reach out to the registry anyhow. Is there any way to have it generate the constructs without fetching anything or checking anything external? Is there a manual procedure I could follow to just generate the constructs?
Error: Failed to query available provider packages
Could not retrieve the list of available versions for provider dmacvicar/libvirt: provider registry [registry.terraform.io](http://registry.terraform.io) does not have a provider named [registry.terraform.io/dmacvicar/libvirt](http://registry.terraform.io/dmacvicar/libvirt) Error: non-zero exit code 1 at ChildProcess.<anonymous> (/usr/lib/node_modules/cdktf-cli/lib/util.js:99:27) at Object.onceWrapper (events.js:421:26) at ChildProcess.emit (events.js:314:20) at maybeClose (internal/child_process.js:1022:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
I am using version 0.1.0 of cdktf-cli.