Skip to content

deweb-services/terraform-provider-nodeshift

Repository files navigation

Terraform Provider for Nodeshift

Build provider

Run the following command to build the provider

Test sample configuration

First, build and install the provider.

$ make install

Then, navigate to the examples directory.

$ cd examples

Run the following command to initialize the workspace and apply the sample configuration.

$ terraform init && terraform apply

To make this plugin work locally, after the installation rename the binary file to terraform-provider-nodeshift and make a file in your $HOME directory named .terraformrc to override the terraform repository with contents like

provider_installation {

    dev_overrides {
        "hashicorp.com/edu/nodeshift" = "%PATH TO $GOBIN%"
    }

    direct {}
}