Terraform Deployment Restriction

Create a terraform deployment restriction

Create a terraform deployment restriction

post/terraform/{terraformId}/deploymentRestriction

Request

Request body

mode'EXCLUDE' | 'MATCH' required

Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated.

type'PATH' required
valuestring required

‘For PATH restrictions, the value must not start with /’

Example request

{
  "mode": "MATCH",
  "type": "PATH"
}

Response

Added an terraform deployment restriction

idstring uuid required
created_atstring date-time required
updated_atstring date-time
mode'EXCLUDE' | 'MATCH' required

Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated.

type'PATH' required
valuestring required

‘For PATH restrictions, the value must not start with /’

Example response

{
  "mode": "MATCH",
  "type": "PATH"
}

Changes

No recorded changes to this operation across all 1 revision of this API.