Terraform module which creates Terraform Enterprise workspace resources.
- Replaces
project_name
with project_id
to fix issue with dependency tree on plan and apply
No modules.
Name |
Description |
Type |
Default |
Required |
agent_pool_id |
ID of the agent pool to associate with the workspace. |
string |
null |
no |
allow_destroy_plan |
Whether to allow the creation of destroy plans. |
bool |
false |
no |
assessments_enabled |
Whether to enable health assesments. |
bool |
false |
no |
auto_apply |
Whether to automatically apply changes when a Terraform plan is successful. |
bool |
false |
no |
description |
The description of the workspace to create. |
string |
n/a |
yes |
execution_mode |
The execution mode of the workspace to create. |
string |
"remote" |
no |
name |
The name of the workspace to create. |
string |
n/a |
yes |
organization_name |
The name of the organization to use. |
string |
n/a |
yes |
project_id |
The id of the project to use. |
string |
n/a |
yes |
run_trigger_workspace_ids |
A list of workspace IDs to associate with the workspace. |
list(string) |
[] |
no |
tags |
A list of tags to add to the workspace. |
list(string) |
[] |
no |
variable_set_ids |
A list of variable set IDs to associate with the workspace. |
list(string) |
[] |
no |
variables |
A list of variables to add to the workspace. |
list(object({ category = string description = optional(string) hcl = optional(bool) key = string sensitive = optional(bool) value = string })) |
[] |
no |
vcs_repo |
The VCS repository to associate with the workspace. |
object({ github_app_installation_id = string identifier = string }) |
null |
no |
Name |
Description |
id |
The ID of created workspace |