workspace

DevOpsJake/workspace/tfc

Terraform Module HCL TFC
Install
module "workspace" {
source = "DevOpsJake/workspace/tfc"
version = "0.0.4"
}
plain text: /constructs/tfmod-devopsjake-workspace-tfc/install.txt
⭐ Source on GitHub 📦 Registry page
README

terraform-tfc-workspace This Terraform module provisions a Terraform Cloud workspace Requirements No requirements. Providers | Name | Version | |------|---------| | tfe | n/a | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | auto\_apply | Whether to automatically apply changes when a Terraform plan is successful. | bool | false | no | | file\_triggers\_enabled | Whether to filter runs based on the changed files in a VCS push. If enabled, the working directory and trigger prefixes describe a set of paths which must contain changes for a VCS push to trigger a run. If disabled, any push will trigger a run. | bool | true | no | | name | Name of the workspace. | any | n/a | yes | | organization | Name of the organization. | any | n/

Inputs (13)
NameTypeDescriptionDefault
trigger_prefixeslistList of repository-root-relative paths which describe all locations to be tracke required
working_directorystringA relative path that Terraform will execute within. Defaults to the root of your required
namestringName of the workspace. required
organizationstringName of the organization. required
ssh_key_idstringThe ID of an SSH key to assign to the workspace. required
terraform_versionstringThe version of Terraform to use for this workspace. Default is latest. required
variablesmap(map(string))Map of environment or Terraform variables to define in the workspace.{}
queue_all_runsstringWhether all runs should be queued. When set to false, runs triggered by a VCS chtrue
slack_notificationsmap(object({ configuration = mMap of `tfe_notification_configurations` to define in the workspace. Leave blank{}
team_accessmap(string)Associate teams to permissions on the workspace.{}
auto_applystringWhether to automatically apply changes when a Terraform plan is successful.false
file_triggers_enabledstringWhether to filter runs based on the changed files in a VCS push. If enabled, thetrue
vcs_repomap(string)The VCS repository to configure.{}
Outputs (1)
tfc_id — The Terraform Cloud workspace ID.
Resources (4)
tfe_notification_configurationtfe_team_accesstfe_variabletfe_workspace
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.4
Cloud TFC
★ Stars1
Forks0
Total downloads806
Inputs13
Outputs1
Resources4
NamespaceDevOpsJake
Updated