Terraform
  • 08 Jul 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Terraform

  • Dark
    Light

Article summary

Terraform is used primarily by teams to automate various infrastructure tasks in code. Using teraform, infrastructure changes, updates and configurations is repeatable, trackable and consistent. Terraform, created by HashiCorp, is cloud-agnostic and open-sourced.

Setup and Configure

To use Terraform API, you need bearer token and organization name.

To create API credentials, follow the steps below.

  1. Log in to Terraform.

  2. Select + Create organization.

  3. In the “Create a new organization” page, enter your organization name which satisfies the mentioned criteria.

  4. Click on Create organization.

  5. Navigate to the “Organizations” page and select the organization name.

  6. Select Settings from the left sidebar.

  7. Scroll down and select API tokens.

  8. Under ‘User Tokens’, click on account settings page.

  9. Click on Create an API token button.

  10. Enter a meaningful token description under the 'Description' field. From the 'Expiration' dropdown menu, select the token expiration time as No expiration.

  11. Click on the Generate token button.

  12. You can find your token here. Note that once the token is generated, please copy and store it somewhere as it won’t be populated again.

  13. While configuring the Terraform data source in Databee UI, select the Bearer Token option from the 'Authorization Method' dropdown. Provide the above-generated token in the 'Token' text box.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence