Terraform Tasks with an AI Assistant

Use AI with HCP Terraform to inspect organizations, workspaces and existing infrastructure run records.

What to Ask Leina to Do with Terraform

Copy a prompt, add your details, and send it to Leina in your connected team chat.

List workspaces and retrieve a selected workspace.

List workspaces in organization [name], then get workspace [ID] and summarize settings.

List workspace runs and inspect a selected run.

List runs for workspace [ID], get run [ID] and explain its returned state.

Get Started with Terraform

  1. Connect Your Account

    Provide an HCP Terraform API token.

  2. Try a Task

    Tell Leina what you need in your team chat. Include the source, destination, and expected result.

    Set Up Leina in Your Chat →
  3. Check the Result

    Review the result and any changes in the connected app.

Supported Terraform Capabilities

Use AI with HCP Terraform to inspect organizations, workspaces and existing infrastructure run records.

Review Workspaces

List workspaces and retrieve a selected workspace.

Review Infrastructure Runs

List workspace runs and inspect a selected run.

View All 8 Actions
  • Get Account Details
  • List Organizations
  • Get Organization
  • List Workspaces
  • Get Workspace By Id
  • Get Workspace By Name
  • List Workspace Runs
  • Get Run

Visit Provider Website ↗

Frequently Asked Questions

Does reading a run apply it?

No. These actions inspect existing run records.

Can I locate a workspace by name?

get_workspace_by_name accepts organization and workspace names.

What should I specify in my request?

Use organization names, workspace IDs and run IDs. Inspecting a run does not apply an infrastructure change.

Your AI employee for Terraform

Tell Leina what you need in your team chat. Include the source, destination, and expected result.