Terraform Provider
If infrastructure as code is your thing, we have created a Terraform provider to automate some aspects of your Pact Broker setup.
Using the Provider​
Here is a list of resources available for configuration:
Plugin | Type | Platform Support | Description |
---|---|---|---|
Pact | Provider | Pact Broker + Pactflow | Configures a target Pact Broker (such as a pactflow.io account) |
Pacticipant | Resource | Pact Broker + Pactflow | Create applications (known as Pacticipants) |
Webhook | Resource | Pact Broker + Pactflow | Configures a webhook to trigger on certain platform events |
Secret | Resource | Pactflow | Create an encrypted secret for use in Webhooks |
API Token | Resource | Pactflow | Manage Pactflow API Tokens |
Users | Resource | Pactflow | Manage Pactflow Users |
Roles | Resource | Pactflow | Manage Pactflow Roles |
Teams | Resource | Pactflow | Manage Pactflow Teams |
Authentication Settings | Resource | Pactflow | Manage Pactflow Authentication (Github, Google etc.) |
Learn more at the official terraform registry