Open Policy Agent (OPA) with Terraform: enforce security, tagging, and cost policies on every plan. Covers Rego v1 syntax, Conftest, GitHub Actions CI/CD integration, and env zero.
This video demonstrates how env0 automates Infrastructure as Code pull request and merges to a development environment, and how the same change to production is submitted for approval.
Per-pull request environments for the front-end are commonly called “Preview environments” and can be achieved in many ways, one of which is using Terraform. Rolling this out on your own, will give you better control over your infrastructure, allowing you to create preview environments which are closer to your production environment.
env0 is open sourcing Terratag - a CLI tool that enables users of Terraform to automatically create and maintain tagging across their entire set of AWS, Azure, and GCP resources. It enables you to easily add dynamic tags to your existing Infrastructure-as-Code.
Thanks to Infrastructure as Code, it’s easy to get rid of your traditional staging environments and start using a dynamic, dedicated environment for each pull request. Adopting per-pull request environments will help you shorten feedback loops, reduce bottlenecks and conflicts, and increase your team’s velocity.
Kubernetes is the "go to" for orchestrating containers but managing multiple environments in a single cluster can get tricky. We're diving into how you can easily use namespaces and Terraform to manage lots of environments for many users.
In a modern application there’s also a public (or private) API that also needs to have a maintenance mode. Let’s see how we can do that using Terraform on API Gateway.
Even the most highly available applications from the most experienced providers sometimes need to be able to be taken offline for a short period of time.
Learn how to do it using Terraform and Github pages.