Enforcing Policies with Validations
A policy for infrastructure is essentially a set of rules that infrastructure must obey. We might require that all of our resources operate in the us-east-1 region, for example, or that our declared architecture is compliant with HIPAA (the Health Insurance Portability and Accountability Act of 1996). The latter in particular is a comprehensive set of related rules that we’d want to define and store in the same place—in a module, perhaps!
We’ve seen how we can use modules to encapsulate and reuse common pattern definitions, letting us create modular code and modular clouds. In this section we’ll talk about modular validations. But before we get started, let’s explore what we mean by a validation in Ludwig. ...
Get Scalable Cloud Ops with Fugue now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.