Terraform
Terraform is an infrastructure as code tool that lets you build, change, and version infrastructure safely and efficiently. This guide explains how to add Terraform integration to Cloudaware.
To see how Cloudaware seamlessly integrates with Terraform in action, request a demo.
Prerequisites
Create a Terraform API token. Read more
Ensure the token has Viewer permissions for all Projects and Workspaces. Read more
For self-hosted Terraform, ensure the instance URL is publicly accessible.
Add Terraform credentials
Log in to Cloudaware → Admin.

Find Terraform in DevOps integrations. Click +ADD.

Fill out the form:

WHERE
Token Name – a name for the Terraform integration
Terraform Token – the Terraform API token. To locate the token, go to Terraform Cloud dashboard -> Settings → Personal API Tokens. Cloudaware supports User, Team, and Organization API tokens.
URL – for self-hosted Terraform, enter the URL in the formathttps://terraform.companyname.com/; for the cloud-hosted version, leave this field empty, Cloudaware will usehttps://app.terraform.ioas the default endpoint
Trust Certificate – check this box for self-hosted Terraform only
Click SAVE.Open the tab ’Terraform Organizations' to view the added organization(s). A green light in the ‘Status’ column indicates successful configuration. If the light is red, contact support@cloudaware.com.

To view Terraform-related data, go to Cloudaware CMDB Navigator. Select HCP TERRAFORM in the left-hand menu.

List of Terraform objects
Cloudaware supports the following Terraform objects:
Terraform Cloud Resource AWS
CA10TF__CaTerraformCloudResourceAws__cTerraform Organization
CA10TF__CaTerraformOrganization__cTerraform Organization Member
CA10TF__CaTerraformOrganizationMember__cTerraform Project
CA10TF__CaTerraformProject__cTerraform Registry Module
CA10TF__CaTerraformRegistryModule__cTerraform Registry Provider
CA10TF__CaTerraformRegistryProvider__cTerraform Run
CA10TF__CaTerraformRun__cTerraform Team
CA10TF__CaTerraformTeam__cTerraform Team User Link
CA10TF__CaTerraformTeamUserLink__cTerraform User
CA10TF__CaTerraformUser__cTerraform Workplace
CA10TF__CaTerraformWorkspace__c