Terraform FAQ
- How do I create a resource with multiple AKAs?
- Where can I find example Turbot Terraform configurations?
- Which Terraform versions does Turbot support?
How do I create a resource with multiple AKAs?
To create a resource such as a folder with a single AKA, we can add the argument aka
to the resource block in the configuration file.
resource "turbot_folder" "test_folder" {
parent = "tmod:@turbot/turbot#/"
title = "My Test Folder"
description = "My test folder with 1 AKA"
akas = ["test-folder"]}
To add additional AKA to the resource, simply add items to the array.
resource "turbot_folder" "test_folder_multi_aka" {
parent = "tmod:@turbot/turbot#/"
title = "My Test Folder"
description = "My test folder with multiple AKAs"
akas = ["test-folder-akas-1", "test-folder-akas-2"]}
Where can I find example Turbot Terraform configurations?
You can find lots of examples on our Turbot Development Kit Repository.
- Control Objectives are often trivial policies for compliance requirements such as limited S3 public access.
- Calculated Policies are generally more complex. These combine Turbot Calculated Policies with Terraform.
Which Terraform versions does Turbot support?
The Turbot provider supports up to Terraform 0.15.x.