Terraform module which creates Terraform Enterprise workspace resources.
- Replaces
project_name
withproject_id
to fix issue with dependency tree on plan and apply
Name | Version |
---|---|
tfe | 0.49.2 |
Name | Version |
---|---|
tfe | 0.49.2 |
No modules.
Name | Type |
---|---|
tfe_run_trigger.self | resource |
tfe_variable.self | resource |
tfe_workspace.self | resource |
tfe_workspace_variable_set.self | resource |
tfe_organization.self | data source |
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({ |
[] |
no |
vcs_repo | The VCS repository to associate with the workspace. | object({ |
null |
no |
Name | Description |
---|---|
id | The ID of created workspace |