workspace

dhoppeIT/workspace/tfe

Terraform Module HCL TFE

Terraform module to manage the Terraform Cloud/Enterprise resource (tfe_workspace)

Install
module "workspace" {
source = "dhoppeIT/workspace/tfe"
version = "0.2.1"
}
plain text: /constructs/tfmod-dhoppeit-workspace-tfe/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-tfe-workspace Terraform module to manage the Terraform Cloud/Enterprise resource (tfe_workspace). Graph Usage Copy and paste into your Terraform configuration, insert the variables and run ``terraform init`: Create workspace (without VCS connection): `hcl module "tfe_organization" { source = "dhoppeIT/organization/tfe" name = "dhoppeIT" email = "[email protected]" } module "tfe_workspace" { source = "dhoppeIT/workspace/tfe" name = "terraform" organization = module.tfe_organization.name } ` Create workspace (with VCS connection): `hcl module "tfe_organization" { source = "dhoppeIT/organization/tfe" name = "dhoppeIT" email = "[email protected]" } module "tfe_oauth_client" { source = "dhoppeIT/oauth_client/tfe" organization = "dhoppeIT" api_url = "https://api.github.com" http_ur

Inputs (22)
NameTypeDescriptionDefault
namestringName of the workspace required
organizationstringName of the organization required
working_directorystringA relative path that Terraform will execute within required
oauth_token_idstringThe VCS Connection (OAuth Connection + Token) to use required
descriptionstringA description for the workspace required
agent_pool_idstringThe ID of an agent pool to assign to the workspace required
terraform_versionstringThe version of Terraform to use for this workspace required
identifierstringA reference to your VCS repository in the format <organization>/<repository> required
ssh_key_idstringThe ID of an SSH key to assign to the workspace required
branchstringThe repository branch that Terraform will execute from required
allow_destroy_planboolWhether destroy plans can be queued on the workspacetrue
execution_modestringWhich execution mode to use"remote"
queue_all_runsboolWhether the workspace should start automatically performing runs immediately afttrue
speculative_enabledboolWhether this workspace allows speculative planstrue
global_remote_stateboolWhether the workspace allows all workspaces in the organization to access its stfalse
remote_state_consumer_idslist(string)The set of workspace IDs set as explicit remote state consumers for the given wo[]
ingress_submodulesboolWhether submodules should be fetched when cloning the VCS repositoryfalse
auto_applyboolWhether to automatically apply changes when a Terraform plan is successfulfalse
trigger_prefixeslist(string)List of repository-root-relative paths which describe all locations to be tracke[]
tag_nameslist(string)A list of tag names for this workspace[]
file_triggers_enabledboolWhether to filter runs based on the changed files in a VCS pushtrue
structured_run_output_enabledboolWhether this workspace should show output from Terraform runs using the enhancedtrue
Outputs (1)
id — The workspace ID
Resources (1)
tfe_workspace
Details
FrameworkTerraform Module
LanguageHCL
Version0.2.1
Cloud TFE
★ Stars0
Forks0
Total downloads4.8k
Inputs22
Outputs1
Resources1
LicenseApache-2.0
NamespacedhoppeIT
Updated