Terraform Deployment Restriction

Edit a terraform deployment restriction

Edit a terraform deployment restriction

put/terraform/{terraformId}/deploymentRestriction/{deploymentRestrictionId}

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

Edit a 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.