Skip to content

Conversation

@tachyonik
Copy link

@tachyonik tachyonik commented Jun 8, 2025

Issue #5877

Scope

This pull request adds an option called --policy <path_to_policy_pack> to sst diff and sst deploy commands.

  • Display policy violation errors
  • Enforce deployment prevention due to breach of mandatory policies
  • Complete example to demonstrate how the option works

The change allows users to use the new option in two different modes:

  1. sst diff --policy /path/to/policy - view any policy violations
  2. sst deploy --policy /path/to/policy - prevent deployment if there are policy violations

References:
Pulumi CrossGuard

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant