The Mezmo Terraform Provider allows organizations to manage Pipelines (sources, processors and destinations)
programmatically via Terraform.
Requirements
Building the Provider
go build ./...
Running Integration Tests
Within Docker
make test
Locally
Start the services:
docker-compose -f compose/base.yml pull && docker-compose -f compose/base.yml up --remove-orphans
Running the test suite:
make local-test
Running a single test
env $(cat ./env/local.env) go test -v -count=1 ./... -run TestDedupeProcessor
Generating the Docs
To generate or update documentation, run go generate
.
Using the Provider
To install the provider in development, run go install .
. This will build the provider and put the provider
binary in the $GOPATH/bin
directory.
Then, you can plan
or apply
a terraform files:
pushd examples/pipeline
terraform plan
popd