Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Applies Terraform configuration files.  Running 'apply' will physically create the resources, if you wish to preview the steps that will be run then use the 'plan' operation. 

...

Property Name

Property Code

Required

Description

Terraform Version

Code Block
FDTF_TF_EXE_VERSION

No

Desired version of the terraform executable to be downloaded. 

Defaults to version 0.12.24

...

Input Name

Input Code

Required

Description

Cloud Accounts

Code Block
FDTF_INP_CLOUD_ACCOUNTS

No

FlexDeploy Cloud Accounts to use for authorization and connection.  See the home page for more information on Cloud Accounts and configuring authorization.

Variables

Code Block
FDTF_INP_TERRAFORM_APPLY_VARS

No

Terraform variables to use.  Separate key value by '=' and put entries on separate lines.  

var1=val1

var2=val2

FlexDeploy Property Replacement is supported in this input. For example:

var1=${{MY_PROPERTY}}

If you wish to use instance qualified properties it should be separated with ":"

var1=${{INSTANCE1:MY_PROPERTY}}

Terraform Snippet

FDTF_INP_TERRAFORM_SNIPPET

No

An optional terraform snippet to be run instead, or in addition to, any local tf files. The content of the snippet will be written to a file named 'flexdeploy.tf' for execution. 

State Directory

Code Block
FDTF_INP_TERRAFORM_STATE_DIR

No

Local directory where to maintain state.  If using a backend state manager, then leave this blank.  If blank and no backend is detected, this will default to the internal state directory for the project.

/var/flexdeploy/terraformstate/%projectId%

Terraform Path

Code Block
FDTF_INP_TERRAFORM_EXE_OVERRIDE

No

If the Terraform executable is not on the path you can specify the location here

Ignore Terraform State

Code Block
FDTF_INP_TERRAFORM_IGNORE_STATE

No

Ignore Terraform State changes to create multiple instances of the same type. If a backend has been configured in the code, this input will be ignored

Defaults to false

...