This repository contains the Terraform provider implementation for the Flow Swiss cloud platform.
In order to develop the provider, you need to tell Terraform to use the locally built provider instead of fetching it
from the registry. To do this, add the following to your ~/.terraformrc
file:
provider_installation {
# Use the given directory as the provider installation directory.
# This disables the version and checksum verifications for this
# provider and forces Terraform to look for the provider plugin
# in the given directory.
dev_overrides {
"flowswiss/flow" = "path to local `terraform-provider-flow` directory"
}
# For all other providers, use the default behavior.
direct {}
}
Please see the
Terraform Documentation
for more details about the dev_overrides
section.
Once you have configured your ~/.terraformrc
, you must build the provider every time you change your code using
go build .
. This generates the terraform-provider-flow
binary which terraform can then use as a provider.