Home / Companies / Pulumi / Blog / Post Details
Content Deep Dive

Enforcing Different Kinds of Policies for Cloud Resources

Blog post from Pulumi

Post Details
Company
Date Published
Author
Justin Van Patten
Word Count
1,490
Company Posts That Month
9
Language
English
Hacker News Points
-
Post removed?
No
Summary

Pulumi CrossGuard is a policy-as-code solution designed to validate infrastructure policies at deployment time, ensuring compliance with security and reliability best practices. It allows organizations to express policies as code using programming languages, which can prevent the creation of out-of-compliance resources. CrossGuard provides two main types of policies: ResourceValidationPolicy and StackValidationPolicy. ResourceValidationPolicy focuses on individual resources, preventing their creation or modification if they violate set policies, while StackValidationPolicy assesses the entire stack of resources after they have been created or modified, allowing for checks that require existing resource states. These policies are integrated into Pulumi's workflow, running during the pulumi preview and pulumi update commands to evaluate cloud resource definitions. The flexibility in writing these policies enables users to enforce rules either on a per-resource basis or across an entire stack, depending on their specific needs. Pulumi CrossGuard aims to enhance infrastructure management by catching potential issues early in the deployment process.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.