Pulumi CloudFormation Guard Integration
Use AWS CloudFormation Guard to write policies for Pulumi stacks.
Overview
This integration enables teams to use AWS CloudFormation Guard (cfn-guard), an open-source policy-as-code tool from AWS, to validate Pulumi infrastructure. It works by converting the Pulumi plan into a CloudFormation template representation and then running `cfn-guard` against it. This allows organizations with an existing investment in cfn-guard rules to apply them to Pulumi-managed infrastructure, ensuring consistency and reusing policy logic.
✨ Key Features
- Use cfn-guard's declarative rule language
- Leverage existing cfn-guard policy libraries
- Enforce policies on AWS resources managed by Pulumi
- Integrates into the Pulumi preview/update lifecycle
- Provides a bridge for teams migrating from CloudFormation to Pulumi
🎯 Key Differentiators
- Uses AWS's native policy-as-code tool (cfn-guard)
- Declarative, simple syntax for rules
- Allows reuse of existing CloudFormation-centric policies
Unique Value: Apply your existing AWS CloudFormation Guard policies to infrastructure defined in Pulumi, enabling policy reuse and consistency.
🎯 Use Cases (3)
✅ Best For
- A team migrating from CloudFormation to Pulumi uses this integration to continue enforcing their existing cfn-guard security policies during the transition.
💡 Check With Vendor
Verify these considerations match your specific requirements:
- Policy enforcement for non-AWS resources
- Teams who prefer writing policies in imperative languages like TypeScript or Python
🏆 Alternatives
Instead of rewriting established cfn-guard rules in TypeScript or Python for CrossGuard, this integration provides a direct path to use them as-is with Pulumi.
💻 Platforms
✅ Offline Mode Available
🔌 Integrations
💰 Pricing
Free tier: The integration and cfn-guard are both open-source and free.
🔄 Similar Tools in Pulumi Crossguard
Pulumi AWS Guard
Codifies best practices for AWS, allowing enforcement across Pulumi stacks....
Pulumi Azure Compliance Policies
Enforces common security and compliance policies (PCI DSS, ISO 27001, CIS) for Azure....
Pulumi Open Policy Agent (OPA) Integration
Enforce security, compliance, and best practices using the Rego language....
Pulumi Snyk Integration
Integrates Snyk's container scanning capabilities directly into the Pulumi workflow....
Pulumi Vault Provider
Manage Vault resources like policies, secrets, and auth methods using Pulumi....
Pulumi Best Practices Pack
A pre-built policy pack from Pulumi that enforces foundational security and governance....