Create a Terraform organization for Cloud Account Management in Cloud Workspace

task brazil Updated Sep 10, 2026 1 min read integrate-terraform-and-git.md
Raw file servicenow.com

Integrate with Terraform Cloud/Terraform Enterprise to organize accounts, define workflows, enforce security, improve collaboration, and enhance scalability.

Before you begin

Role required: Terraform admin

Attributes required for this setup:

  • AWS Access Key
  • AWS Secret Key

Make sure you have access to Terraform Cloud or Terraform Enterprise to perform the following procedure.

Procedure

  1. Log in and navigate to the Terraform Cloud (https://app.terraform.io/session) or Terraform Enterprise portal ( https://<tfe_server_url>/api/v1).

  2. Select the user name or organization name.

  3. In the modal window, enter a unique org name and other details.

  4. Select Create Organization.

    Note:

  5. In Terraform org, navigate to Settings > Variable set > Create variable set.

    A variable set is a collection of variables shareable across multiple workspaces.

  6. Provide a descriptive name like AWS credentials.

  7. Select the appropriate scope (organization or a workspace).

  8. Create two variable sets within the Variables section as follows:

    • Key: AWS_ACCESS_KEY_ID and Value: <AWS access key>

    • Key: AWS_SECRET_ACCESS_KEY and Value: <AWS secret key>

      Note: Select as Sensitive to restrict the visibility of credentials to unauthorized personnel with Terraform access.

    For more details on variable sets, see https://developer.hashicorp.com/terraform/tutorials/cloud-get-started/cloud-create-variable-set#.

Parent Topic:Setting up Terraform and GitHub

Related topics

Publish Terraform templates

Integrate Terraform Cloud with GitHub

Create Terraform API token

Search documentation
Search document titles and file paths on the brazil branch