DEV Community

Ryan Cartwright for Spacelift

Posted on • Updated on

Spacelift Policy-as-code Introduction

Policy-as-code is the idea of expressing rules using a high-level programming language and treating them as you normally treat code, which includes version control as well as continuous integration and deployment. This approach extends the infrastructure-as-code approach to also cover the rules governing this infrastructure, and the platform that manages it.

Spacelift as a development platform is built around this concept and allows defining policies that involve various decision points in the application. User-defined policies can decide:

You can refer to this section to learn more about commonalities and differences between these policies, or to the dedicated article about each policy to dive deep into its details.

Discussion (0)