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:
- Defining your policy and security posture in code.
- Configuration of policies, resources and the environment.
- Querying the CMDB as data sources to combine with other providers.
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"
}
- Installation and Configuration: Turbot Guardrails Provider Configuration
- Source: Terraform Provider source on GitHub
- License: Mozilla Public License Version 2.0
Turbot Guardrails and Terraform: Setup
To get started with Terraform for Guardrails, refer to the setup documentation: