Update a Policy Setting

In this guide, you will update an existing policy setting to change its value, precedence, or other configuration. This is useful when your compliance requirements evolve, such as moving from a check-only posture to active enforcement after a validation period.

Prerequisites

Step 1: Open the Policy Setting

Open the policy setting you want to change. From the Policies page you can reach it through the policy type's settings list, or from a resource's or control's Policies tab. The setting opens on its detail page, which shows the current value, precedence, and note, with Edit and Delete buttons in the header.

Policy setting detail page showing Check: Enabled with Required precedence and Edit and Delete buttons

Step 2: Open the Edit Form

Click Edit. The form reopens as Update Policy Setting with the current values pre-populated. The Policy Type and Resource fields are locked, since a setting always keeps the type and resource it was created with.

Update Policy Setting form pre-populated with the current Check: Enabled value and note

[!NOTE] The policy type and target resource cannot be changed after creation. If you need a different policy type or resource, delete this setting and create a new one.

Step 3: Change the Value or Precedence

Update the fields you want to change. For this example, change the value from Check: Enabled to Enforce: Enabled to move from passive monitoring to active remediation.

Update Policy Setting form with Enforce: Enabled selected as the new value

The following fields are editable:

FieldDescription
SettingThe policy value (for example Skip, Check: Enabled, or Enforce: Enabled). Toggle Enable calculated mode to switch a fixed value to a computed one.
PrecedenceRequired or Recommended. Changing from Recommended to Required prevents child settings from overriding this value unless they are also Required.
NoteUpdate the note to reflect why the change was made. This is helpful for audit trails.
ExpirationAdd, change, or remove an expiration date.

Step 4: Save the Changes

Click Update to apply your changes. Guardrails saves the setting and returns to its detail page, now showing the new value.

Policy setting detail page showing the updated Enforce: Enabled value and revised note

Confirm that the value and precedence reflect your change, and check the Activity tab to see the update event with a timestamp. Controls affected by this setting begin re-evaluating automatically. If you changed from Check to Enforce, Guardrails starts remediating non-compliant resources, so watch the Activity tab for remediation actions.

Via Terraform

If you manage your policy settings with Terraform, update the relevant argument in your turbot_policy_setting resource and apply:

resource "turbot_policy_setting" "s3_bucket_versioning" {
  resource   = "arn:aws:::169446447258"
  type       = "tmod:@turbot/aws-s3#/policy/types/bucketVersioning"
  value      = "Enforce: Enabled"  # Changed from "Check: Enabled"
  precedence = "required"
  note       = "Moved to enforcement after the 30-day check period"
}

Run terraform plan to preview the change, then terraform apply to update the setting.

Troubleshooting

IssueSolution
Edit not availableYou may lack Turbot/Admin permissions on the resource where the setting is applied. Check your permissions.
Controls not re-evaluating after the updateAllow a few minutes for controls to process. If they remain stale, check the Activity tab for errors.
Enforcement causing unexpected changesIf Enforce mode is remediating resources you didn't expect, switch back to Check mode while you investigate. Review the policy's scope to ensure it targets the correct resources.
Further assistanceOpen a Support Ticket

Next Steps