Online delivery service DoorDash uses Infrastructure as Code (IaC) to automate the DevOps process. In order to do that safely and successfully, the company implemented safeguarding practices to ensure against breaking changes and security issues.
IaC is the managing and provisioning of infrastructure through code rather than manual processes.
The policy (aka rules, conditions, instructions) are the policies that hold the shape of the automated infrastructure.
When software needs a policy decision, it queries the OPA by sending structured data, likely JSON as the input.