create_workspace
Create a new Terraform Cloud workspace for managing infrastructure configurations. Define execution modes, Terraform versions, VCS repositories, and custom triggers to isolate and automate infrastructure workflows.
Instructions
Create a new workspace in an organization.
Creates a new Terraform Cloud workspace which serves as an isolated environment for managing infrastructure. Workspaces contain variables, state files, and run histories for a specific infrastructure configuration.
API endpoint: POST /organizations/{organization}/workspaces
Args: organization: The name of the organization name: The name to give the workspace
Returns: The created workspace data including configuration, settings and metadata
See: docs/tools/workspace.md for reference documentation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | ||
organization | Yes | ||
params | No |