create_organization
Create and configure a new organization in Terraform Cloud by specifying name, email, and optional settings like authentication policy, session timeouts, and default execution modes.
Instructions
Create a new organization in Terraform Cloud
Creates a new organization with the given name and email, allowing workspaces and teams to be created within it. This is the first step in setting up a new environment in Terraform Cloud.
API endpoint: POST /organizations
Args: name: The name of the organization (required) email: Admin email address (required) params: Additional organization settings: - collaborator_auth_policy: Authentication policy (password or two_factor_mandatory) - session_timeout: Session timeout after inactivity in minutes - session_remember: Session total expiration time in minutes - cost_estimation_enabled: Whether to enable cost estimation for workspaces - default_execution_mode: Default workspace execution mode (remote, local, agent) - aggregated_commit_status_enabled: Whether to aggregate VCS status updates - speculative_plan_management_enabled: Whether to auto-cancel unused speculative plans - assessments_enforced: Whether to enforce health assessments for all workspaces - allow_force_delete_workspaces: Whether to allow deleting workspaces with resources - default_agent_pool_id: Default agent pool ID (required when using agent mode)
Returns: The created organization details including ID and created timestamp
See: docs/tools/organization.md for reference documentation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
Yes | |||
name | Yes | ||
params | No |