Create a terraform provider
complete
Matt Fellows
Whilst the Pact Broker is easily run in a Docker container and can be automated, not everything can be configured statically in a config file.
Furthermore, the lifecycle of use cases on the broker (e.g. adding a webhook for a new application) should not require a configuration change and application restart.
It is common practice to apply infrastructure-as-code practices to both self-hosted and SaaS products alike, and we currently lack this capability.
This proposal aims to enable configuration management via a custom Terraform provider.
It should support the following features at a minimum:
* Pacticipants
* Webhooks
* Secrets (Pactflow only)
* API Tokens (Pactflow only)
As the broker API progresses, we should be able configure things such as:
* Resource importing (see https://www.terraform.io/docs/extend/resources/import.html)
* Certificate management for integrations with internal CA-signed systems
* Integration Whitelists
* SAML and SSO setup
* User and group management
Matt Fellows
complete
Marking as completed and now a BAU activity.
Matt Fellows
in progress
Initial beta has been created - seeking feedback
Matt Fellows
🚀 Initial beta (v0.0.1) released https://github.com/pactflow/terraform/
Bernardo Guerreiro
That's really exciting, actually! It's something I've wanted before, and certainly solves a lot of those "configuration automation" things we wanted at DAZN. I'll share it with them when it's done!
Matt Fellows
planned
Aiming for an end of March timeframe for the initial version.
Matt Fellows
under review
Currently spiking the plausibility of this