Guardrails

What are Guardrails?

Guardrails

Guardrails are Terraform policy-as-code. With them, govern how cloud resources can be created and altered, preventing infrastructure misconfiguration.

  1. Block misconfigurations in CI

  2. Remediate misconfigurations without causing Terraform drift

Note: You can define Guardrail override behavior in case exceptions are required.

Resourcely Guardrail Catalog

Before infrastructure is provisioned, Resourcely examines the changes being made and prevents a merge if any guardrail requirements are violated. Some examples of guardrails include:

  • Approval for making S3 public

  • Allowed compute image types

  • GCP Allowed Regions

  • Allowed compute instance types

Resourcely provides a catalog with a wide set of available guardrails which can be further configured. Guardrails are available for the following categories:

  • Access Control

  • Best Practices

  • Cost Efficiency

For a complete reference on what is possible with Guardrails, check out Writing your own Guardrails.

Creating Guardrails

You can create, manage, and use guardrails that govern how cloud resources are created and changed. Resourcely allows you to enable Guardrails from our built-in templates, edit the built-in guardrails to meet your requirements, or create new ones.

Last updated