» Enforce and Override Policies
Once a policy is added to an organization it is enforced on all runs.
The policy check will occur immediately after a plan is successfully executed in the run. If the plan fails, the policy check will not be performed. The policy check uses the generated tfplan file, simulated apply object, state and configuration to verify the rules in each of the policies.
Enforcement level details can be found in the Managing Policies documentation.
hard mandatory and
soft mandatory policies must pass in order for the run to continue to the the "Confirm & Apply" state.
soft mandatory policy fails a member of the organization owners team will be presented with an "Override & Continue" button in the run. They have the ability to override the failed check and continue the execution of the run.
advisory fails, it will show the warning state in the run; however, the execution of the run will continue to the "Confirm & Apply" state. No user action is required to override or continue the run execution.