Pulumi Now Secures New Infrastructure Automatically

TL;DR: Pulumi now lets you manage policy groups using tags. This means new cloud infrastructure automatically gets the right security and compliance rules applied, eliminating the need for manual configuration for every new stack.
Key facts
- Category
- Infrastructure
- Impact
- High
- Published
- Source
- Pulumi Blog
Full summary
Pulumi now uses tags to automatically apply security policies to new cloud infrastructure, ending tedious manual setup for developers.
Infrastructure as Code platform Pulumi has released a significant update to its policy-as-code feature, a change announced on the company's official blog. The new capability introduces the ability to assign "policy groups" using tags associated with cloud accounts and infrastructure stacks. Policy groups are collections of rules that govern how cloud resources can be configured. Previously, applying these crucial governance rules required developers or operations teams to manually add each new piece of infrastructure, or "stack," to the correct policy group. This manual step was a known source of friction and potential error, particularly in large, dynamic environments where new infrastructure is provisioned and decommissioned frequently. The new tag-based system is designed to eliminate this operational bottleneck, making cloud governance more automated, scalable, and less prone to human oversight.
The new feature works by allowing administrators to define membership criteria for a policy group declaratively, based on metadata. Instead of maintaining an explicit, manually curated list of stacks, an administrator can now create a dynamic rule. For example, they can specify that "all stacks with the tag `environment:production` must belong to the 'Production Security' policy group." When a developer then creates a new production database or server and applies that standard tag, Pulumi’s system automatically enrolls the new resource in the appropriate group. This immediately enforces all associated policies, such as rules that disallow public S3 buckets, require encryption on all databases, or restrict deployments to certain geographic regions. This shifts the operational model from a manual, imperative process ("add this stack") to an automated, declarative one ("any stack with this property belongs here"), integrating governance directly into existing workflows.
This move by Pulumi is not happening in a vacuum; it aligns with a powerful and established trend across the cloud and DevOps landscape. The concept of using tags or labels for dynamic grouping and policy application is a foundational pattern in modern infrastructure management. Kubernetes, for instance, has long used labels and selectors to dynamically manage which services receive network traffic or which pods are subject to certain security policies. Similarly, major cloud providers like AWS, Azure, and Google Cloud heavily rely on tagging for everything from cost management and billing reports to fine-grained access control with Identity and Access Management (IAM) policies. By adopting this model, Pulumi is bringing its governance capabilities in line with the operational best practices that mature cloud organizations have already embraced. It represents a maturation of the "policy as code" movement, moving beyond simply writing the policies to automating their application at enterprise scale.
For Chief Technology Officers and security teams, this update provides a much more robust and scalable way to enforce organizational standards without creating a bottleneck for development. It allows them to establish secure "paved roads" for infrastructure deployment, where essential guardrails are automatically in place from the moment of creation. For developers, it reduces cognitive load; they only need to focus on applying the correct project or environment tags—a task that is often already part of their standard workflow—rather than remembering to manually register their stack with a separate governance system. This directly reduces the risk of misconfiguration and the creation of security gaps. Looking ahead, we can expect Pulumi to further integrate this tag-based logic into other parts of its platform. Potential future enhancements could include tag-based cost attribution dashboards, more granular role-based access control (RBAC), or automated notifications, further solidifying its position as a comprehensive cloud engineering platform.
Why it matters
For engineering and security teams, this feature automates a critical but tedious governance step. It ensures security policies are consistently applied to all new infrastructure from day one, significantly reducing the risk of human error and unmonitored deployments.
Business impact
This update directly improves operational efficiency by removing manual governance tasks, allowing developers to ship faster. For the business, it lowers the risk of costly security breaches or compliance fines by ensuring all cloud resources automatically adhere to company policies.
Tags
Related on Notifire
Related stories
Primary source: Pulumi Blog