Turbot Guardrails Hub 
Hub
  • Mods
  • Policy Packs
  • Docs
  • Home
ModsPolicy PacksDocsHome
Mods
AWS
Loading policies...

Policy: AWS > VPC > 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.

Targets

This policy targets the following resource types:

  • AWS > Region

Primary Policy

This policy is used with the following primary policy:

  • AWS > VPC > Stack

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

  • Resource > Configured

In Your Workspace

  • Policy Settings by Type report

Developers

    Category URI
    • tmod:@turbot/turbot#/control/categories/configured
  • Policy Type URI
    • tmod:@turbot/aws-vpc-core#/policy/types/vpcServiceStackTerraformVersion
  • GraphQL
    • query policyType(id: "tmod:@turbot/aws-vpc-core#/policy/types/vpcServiceStackTerraformVersion") { … }
    • query policySettings(filter: "policyTypeId:'tmod:@turbot/aws-vpc-core#/policy/types/vpcServiceStackTerraformVersion'") { … }
    • query policyValues(filter: "policyTypeId:'tmod:@turbot/aws-vpc-core#/policy/types/vpcServiceStackTerraformVersion'") { … }
  • CLI
    • Get Policy Type
    • turbot graphql policy-type --id "tmod:@turbot/aws-vpc-core#/policy/types/vpcServiceStackTerraformVersion"
    • Get Policy Settings
    • turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-vpc-core#/policy/types/vpcServiceStackTerraformVersion"
Guardrails
Guardrails Hub
  • Hub
  • Docs
  • Blog
  • Changelog
Products
  • GuardrailsGuardrails
  • PipesPipes
  • SteampipeSteampipe
  • PowerpipePowerpipe
  • FlowpipeFlowpipe
  • TailpipeTailpipe
Turbot
  • Home
  • About us
  • We're hiring!
  • Contact us
Community

Our community of practitioners love to discuss cloud governance & security.

Slack logoJoin us on Slack →

System StatusLegalSecurity
Terms of UseSecurityPrivacy
180
Mods
497
Resource Types
8,691
Policies
3,362
Controls
1,833
Quick Actions
540
IAM