Skip to main content

Using pipeline variables

Harness IaCM can use Harness pipeline variables as Environment Variables or Terraform Variables within your Workspace.

  1. Create a variable in your Harness pipeline and retrieve its Fully-Qualified Name (FQN).
  2. Provide a Key for your Environment Variable or Terraform Variable in the Workspace definition.
  3. Place the FQN in the "Value" field.
  4. Run the pipeline.
  5. The variables will be used in the same fashion as Environment Variables or Terraform Variables in your Terraform workflow.

This functionality can be useful for ephemeral workspaces that may need to change slightly depending on downstream needs such as demonstration or workshop resources.

AIDA logo
AIDA logo

Harness AIDA Chatbot

AI Development Assistant


Today, March 15, 6:05am

AIDA logo

Accelerate your software delivery with the powerful capabilities of Harness’s Platform.

AIDA logo

How can I help?

Log into your Harness Account to access AIDA