Overview

To authenticate with Terraform, you need:

  1. API Token - A token that grants secure access to the API, enabling authorized applications to interact with Terraform resources and services.

This guide will walk you through generating the API Token within Terraform.

Prerequisites:

  • You must have a Terraform account.

Instructions:

Step 1: Generating Your API Token

Generating an API Token following Terraform’s guide.

To generate an API Token from Terraform:

  1. Log into Terraform
  2. Go to Organization settings.
  3. In the security section of the sidebar select API Tokens.
  4. Generate an API Token using the controls below the Organization Tokens header.

Step 2: Enter credentials in the Connect UI

Once you have the API Token:

  1. Open the form where you need to authenticate with Terraform.
  2. Enter the API Token in the designated field.
  3. Submit the form, and you should be successfully authenticated.

You are now connected to Terraform.