Terraform

Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Terraform can manage existing and popular service providers as well as custom in-house solutions.

[!TIP] New to Guardrails and Terraform? See the Turbot Provider documentation.

The Turbot Guardrails Terraform provider supports:

For example, to set a policy:

resource "turbot_policy_setting" "s3_encryption_at_rest" {
  resource      = "arn:aws:s3:::my-bucket"
  type          = "tmod:@turbot/aws-s3#/policy/types/bucketEncryptionAtRest"
  value         = "Enforce: AWS SSE or higher"
}

Turbot Guardrails and Terraform: Setup

To get started with Terraform for Guardrails, refer to the setup documentation: