hashicorp / terraform-cdk

Define infrastructure resources using programming constructs and provision them using HashiCorp Terraform
https://www.terraform.io/cdktf
Mozilla Public License 2.0
4.85k stars 451 forks source link

COMPONENT: tutorial doesn't work #3738

Open JamesNSmith opened 1 week ago

JamesNSmith commented 1 week ago

Expected Behavior

https://developer.hashicorp.com/terraform/tutorials/cdktf/cdktf-install should provide an easy start.

Actual Behavior

Error: Failed to query available provider packages │ │ Could not retrieve the list of available versions for provider │ hashicorp/docker: provider registry registry.terraform.io does not have a │ provider named registry.terraform.io/hashicorp/docker │ │ Did you intend to use kreuzwerker/docker? If so, you must specify that │ source address in each module which requires that provider. To see which │ modules are currently depending on hashicorp/docker, run the following │ command: │ terraform providers

Steps to Reproduce

Follow the tutorial: https://developer.hashicorp.com/terraform/tutorials/cdktf/cdktf-install

Versions

"cdktf": "0.20.0",

Providers

No response

Gist

No response

Possible Solutions

No response

Workarounds

No response

Anything Else?

No response

References

No response

Help Wanted

Community Note

ansgarm commented 3 days ago

Hi @JamesNSmith 👋

Which exact command produced the error message you encountered?

JamesNSmith commented 3 days ago

Hi @ansgarm

The command that causes the error is cdktf get.