Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 921 Bytes

File metadata and controls

44 lines (32 loc) · 921 Bytes

Try out the development example

Setup

Update your ~/.terraformrc with the following

provider_installation {

  dev_overrides {
      "hashicorp.com/authress/authress" = "~/go/bin"
  }

  # For all other providers, install them directly from their origin provider
  # registries as normal. If you omit this, Terraform will _only_ use
  # the dev_overrides block, and so no other providers will be available.
  direct {}
}

Test the provider out locally to validate it works

go run main.go

Run the following command to build the provider

go build -o terraform-provider-authress && cp terraform-provider-authress ~/go/bin
terraform init

Test sample configuration

First, build and install the provider.

make install

Then, run the following command to initialize the workspace and apply the sample configuration.

terraform init && terraform apply