Create a Terraform organization for Cloud Account Management in Cloud Workspace

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Integrate with Terraform Cloud/Terraform Enterprise to organize accounts, define workflows, enforce security, improve collaboration, and enhance scalability.

    Avant de commencer

    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.

    Procédure

    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.
      Remarque :
    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>
        Remarque :
        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#.