These variables will be written to a temporary file (workspace/terraform-plugin/variables-TEMP.tfvars) and will be passed to Terraform using the -var-file= option. If you are using resource files that reference external variables, set these variables here. Terraform will run the get command by default, use this option to run Terraform get with the -update flag. If no path is given, it defaults to the workspace path. This option provides a directory path (relative to your workspace) to enter where your configuration files (.tf) exist. This text will then be written to a temporary file (workspace/terraform-plugin/terraform-TEMP.tf) and parsed by Terraform. This option allows you to copy what would be in a resource file (.tf) into a textarea. The first step is to decide how you would like to pass your configurations to Terraform, there are 2 options: Option 1: Configuration Text This generated tfstate file is not deleted and is always passed to Terraform using -state=workspace/terraform-plugin/terraform-plugin.tfstate as an extra safety measure so as to not use any other tfstate file you might have in a workspace. This directory also contains the generated tfstate file terraform-plugin.tfstate.
This plugin works as a build wrapper and can be invoked by selecting Terraform under the Build Environment section of your job configuration.Ī workspace directory terraform-plugin will be created, this is where temporary files are created and automatically deleted after runs. To install, select the version you would like for your platform.
This plugin provides an auto-installer to install the Terraform binary from. View Terraform on the plugin site for more information.Īllows users to launch infrastructure using Terraform as a build wrapper.