apply

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. 

Inputs

Input NameInput CodeRequiredDescription
Cloud AccountsFDTF_INP_CLOUD_ACCOUNTSNoFlexDeploy Cloud Accounts to use for authorization and connection.  See here for more information on Cloud Accounts and configuring authorization.
VariablesFDTF_INP_TERRAFORM_APPLY_VARSNo

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

var1=val1

var2=val2

State DirectoryFDTF_INP_TERRAFORM_STATE_DIRNo

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 PathFDTF_INP_TERRAFORM_EXE_OVERRIDENoIf the Terraform executable is not on the path you can specify the location here

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 environment/instance.

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