Mods
AWS

Policy: AWS > Account > Stack > Terraform Version

The Version of Terraform to use for this stack. Specify an npm-style semver string to determine which version of the Terraform container Guardrails will use to run this stack.

A Guardrails Stack is a set of resources configured by Guardrails, as specified via Terraform source. Stacks are responsible for the creation and deletion of multiple resources. Once created, stack resources are responsible for configuring themselves from the stack source via their Configured control.

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Specification

Schema Type
string
Default template
{% if $.terraformVersion %}"{{$.terraformVersion}}"{% else %}""{% endif %}
Default template input
|
{
terraformVersion: policy(uri:"tmod:@turbot/turbot#/policy/types/stackTerraformVersion")
}

Category

In Your Workspace

Developers