plan

Previews steps that will be run when 'apply' is executed.Ā 

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Terraform Version

FDTF_TF_EXE_VERSION

No

Desired version of the terraform executable to be downloaded.Ā 

Defaults to version 0.12.24

Inputs

Input Name

Input Code

Required

Description

Input Name

Input Code

Required

Description

Cloud Accounts

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

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

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

FDTF_INP_TERRAFORM_EXE_OVERRIDE

No

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

Ignore Terraform State

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

Init Parameters

FDTF_INP_TERRAFORM_INIT_PARAMETERS

No

Init parameters to add. (Ex: -backend-config="")

Additional Arguments

FDTF_INP_ADDITIONAL_ARGS

No

Pass additional arguments to the terraform command.

Useful for resource targeting (Ex: -target="")

Global Options

FDTF_INP_GLOBAL_OPTIONS

No

Pass Global options arguments to the terraform command.

Global options to add (Ex: -chdir="DIR")

(chdir=DIR) - Changes the working directory before executing the subcommand.

Outputs

Allows user defined outputs.Ā  All outputs defined in the Terraform configuration are available to be returned as FlexDeploy outputs.Ā  Simply add them to the Outputs tab in the plugin configuration.

Artifacts

This operation consumes artifacts from the artifacts repository.

Endpoint Selection

This operation will select all available endpoints associated to the Target.

Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.

Special Considerations

Terraform configuration files are expected to be in the FlexDeploy Artifact Repository

The following macros are not currently supported in the footer:
  • style