Skip to content

tagesspiegel/terraform-tfc-workspace

Repository files navigation

Workspace

A module to simplify the creation of a Terraform Cloud workspace.

Requirements

Name Version
tfe 0.51.1

Providers

Name Version
tfe 0.51.1

Modules

No modules.

Resources

Name Type
tfe_workspace.this resource

Inputs

Name Description Type Default Required
agent_pool_id The ID of the agent pool to use for this workspace. Defaults to ''. Should not be changed, unless you know what you are doing. string "" no
allow_destroy_plan Whether destroy plans are allowed for this workspace. Defaults to 'false'. Should not be changed, unless you know what you are doing. bool false no
auto_apply Whether to automatically apply changes when a Terraform plan is successful. Defaults to 'true'. Should not be changed, unless you know what you are doing. bool true no
description The description of the workspace string n/a yes
execution_mode The execution mode to use for this workspace. Defaults to 'remote'. Should not be changed, unless you know what you are doing. string "remote" no
file_triggers_enabled Whether to enable file triggers for this workspace. Defaults to 'true'. Should not be changed, unless you know what you are doing. bool true no
global_accessable_state Whether the state of this workspace should be accessable by all other workspaces. Defaults to 'false'. bool false no
name The name of the workspace string n/a yes
organization_github_app_installation_id The ID of the GitHub App Installation. Should not be changed, unless you know what you are doing. string n/a yes
organization_name The name of the organization. Should not be changed, unless you know what you are doing. string n/a yes
project_id The ID of the project. E.g. 'tfe_project..id' string n/a yes
remote_state_consumer_ids A list of workspace IDs to be used as data sources. Defaults to '[]'. list(string) [] no
tags The tags of the workspace set(string) n/a yes
terraform_version The version of Terraform to use for this workspace. string n/a yes
trigger_prefix_paths A list of trigger prefixes. These prefixes determite which paths should trigger a run. Defaults to '[]'. If working_directory is set, this variable will be merged with the working_directory variable. list(string) [] no
vcs_git_branch The git branch of the workspace. Defaults to 'main'. string "main" no
vcs_git_repository The git repository of the workspace. string n/a yes
working_directory The working directory of the workspace. Defaults to ''. This should be the path to the directory containing the Terraform configuration files. string "" no

Outputs

Name Description
workspace_id n/a