Skip to content

curve-technology/terraform-provider-protogit

Repository files navigation

Terraform Provider Protogit

Run the following command to build the provider

make build

Test sample configuration

First, build and install the provider.

make install

Then, get inside examples/topic_schema folder.

cd examples/topic_schema

Now, either set the TF_VAR_git_password env variable or set the git_password in the terraform.tfvars file.

export TF_VAR_git_password="<access_token>"

Finally, run the following commands to initialize the workspace and check the sample output.

terraform init
terraform plan

Development

For development, you should first follow these instructions or just run the command below.

export TF_CLI_CONFIG_FILE=$(PWD)/dev.tfrc