Skip to main content

Terraform

terraform

Version: 1.1
Updated: Jun 22, 2023

Terraform is an open-source infrastructure as code software tool that provides a consistent CLI workflow to manage cloud services.

Actions

  • Get Account Details (Enrichment) - Get your account details.
  • Get Organization (Enrichment) - Show an organization.
  • Get Workspace (Enrichment) - Show workspace.
  • Get Run Details (Enrichment) - Show details of a specific run.
  • List Agent Pools (Enrichment) - List agent pools, their agents, and their tokens for an organization.
  • List User Tokens (Enrichment) - Retrieve contain metadata, and do not include the secret text of any authentication tokens.
  • List Organizations (Enrichment) - List organizations.
  • List Workspaces (Enrichment) - Lists workspaces in the organization.
  • Show Entitlement Set (Enrichment) - Shows the entitlements for an organization.
  • Create Workspace (Containment) - Create a workspace.
  • Create User Token (Containment) - This endpoint returns the secret text of the created authentication token. A token is only shown upon creation, and cannot be recovered later.
  • Delete User Token (Containment) - Destroy a User Token.
  • Create Configuration Version (Containment) - Create a configuration version on the workspace.
  • Upload Configuration Files (Containment) - Upload configuration files to configuration version.
  • Create Run (Containment) - Create a run on the workspace.
  • Apply Run (Containment) - Apply a run.

Terraform configuration

  1. Log in to Terraform. Click on your profile picture on the top right corner.
  2. Click User settings.
  3. In the left menu, under Tokens, click Create an API token button.
    terraform
  4. Then add a description and create your API token.
    terraform
  5. Use the copy button to save your token. This token will not be displayed again, so make sure to save it to a safe place.

Terraform in Automation Service and Cloud SOAR

  1. Access integrations in the Automation Service or Cloud SOAR.
  2. After the list of the integrations appears, search/look for the integration and click on the row.
  3. The integration details will appear. Click on the "+" button to add new Resource.
    terraform
  4. Populate all the required fields (*) then click SAVE SETTINGS.
    terraform
  5. To make sure the resource is working, hover over the resource and then click the pencil icon that appears on the right.
    terraform
  6. Click TEST SAVED SETTINGS.
    terraform
  7. You should receive a successful notification in the bottom right corner.
    terraform

Change Log

  • April 08, 2022 - First Upload
  • June 22, 2023 (v1.1) - Updated the integration with Environmental Variables
Status
Legal
Privacy Statement
Terms of Use

Copyright © 2024 by Sumo Logic, Inc.