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.88k stars 456 forks source link

feat(cli): add support for local templates #3746

Open icholy opened 1 month ago

icholy commented 1 month ago

Related issue

Fixes #3656

Description

Allow passing local directory as --template parameter.

Checklist

icholy commented 1 month ago

I'm following the instructions, but I cannot get any of these integration tests to pass locally. It seems to be starting the verdaccio server, but then it errors out when trying to publish with:

npm ERR! code ENEEDAUTH
npm ERR! need auth This command requires you to be logged in to https://registry.yarnpkg.com
npm ERR! need auth You need to authorize this machine using `npm adduser`

How do I setup credentials for this local registry?

icholy commented 1 month ago

Updated.