Guardrails
For the latest documentation on the resource itself, refer to the Terraform Registry.
Guardrails prevent infrastructure misconfiguration by dictating how cloud resources can be created and updated. They apply to Blueprints so they can be verified before resource provisioning.
To define a guardrail in main.tf
:
In this example, this Guardrail prevents buckets from being created with a name that does not start with `resourcely-`. You can look up other examples in Authoring your own guardrails.
Last updated