Skip to content

Deprecated Policiesยป

Overviewยป

Spacelift has deprecated two policy types in favor of the more powerful and flexible approval policy:

  • Initialization Policy - Previously controlled whether runs could start
  • Task Policy - Previously controlled which task commands could be executed

Both have been replaced by approval policies, which provide:

  • Unified control for both runs and tasks
  • Human review workflows with comments
  • Role-based approval requirements
  • Richer decision-making context

Migration Pathยป

All functionality from initialization and task policies can be replicated in approval policies, often with enhanced capabilities.

โ†’ View the complete migration guide with side-by-side examples and real-world use cases.

Deprecated Policy Typesยป

Policy Type What It Did Replaced By
Initialization Blocked runs before they started based on runtime config, branch names, or other pre-execution checks Approval Policy
Task Restricted which commands could be executed as tasks based on user roles or command patterns Approval Policy

Timelineยป

  • Current status: Deprecated (still functional)
  • Recommended action: Migrate as soon as possible
  • End of life: To be announced

Need Help?ยป