Skip to content

Disable automatic creation of pacticipants so IaC doesn't need to import auto-created ressources #775

Description

@timvahlbrock

The Pact Broker creates pacticipants automatically when a contract including them is pushed. When using the Pact Terraform Provider (or comparable IaC Tools) this is really annoying, because every Pacticipant created by the Broker needs to be explicitly imported into Terraform's management. It would be really nice if it was possible to configure the broker to disable this "auto-create" behavior for when IaC is used. If a consumer is trying to add a contract that does contain not yet existent pacticipants the contract would be refused.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions