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