Contract Testing: Create Environment
contract-testing_create_environmentCreate a new deployment environment in PactFlow by specifying a unique name and whether it is a production environment. Optionally add display name and team ownership.
Instructions
Create a new deployment environment in PactFlow.
Toolset: Environments and Deployments
Parameters:
name (string) required: Unique name for the environment (e.g. 'production', 'staging')
production (boolean) required: Whether this is a production environment
displayName (string): Human-readable display name
teamUuids (array): UUIDs of teams that own this environment
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Unique name for the environment (e.g. 'production', 'staging') | |
| teamUuids | No | UUIDs of teams that own this environment | |
| production | Yes | Whether this is a production environment | |
| displayName | No | Human-readable display name |