feat: add support for `upstream` directory in provider repo
tmeckel opened this issue · comments
Thomas Meckel commented
To resolve the documentation of a wrapped Terraform provider it's sometimes required to clone the Terraform provider repository into a directory named upstream
into the repository of the Pulumi provider.
This following additions have to made for Makefile
:
PULUMI_REPO_PATHS:= github.com/<tf-provider-repo>=$(ROOT_DIR)/upstream
upstream/.git:
@echo "Initializing upstream" ; \
git clone --depth 1 --branch <tf-provider-version> https://github.com/<tf-provider-repo> upstream
tfgen:: install_plugins upstream/.git
Examples: