Skip to content

themichaelmitchell/terraform-module-repo-example

 
 

Repository files navigation

terraform-tfe-workspace

Terraform module which creates Terraform Enterprise workspace resources.

Migration Changes

0.6.0

  • Replaces project_name with project_id to fix issue with dependency tree on plan and apply

Requirements

Name Version
tfe 0.49.2

Providers

Name Version
tfe 0.49.2

Modules

No modules.

Resources

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

Inputs

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

Outputs

Name Description
id The ID of created workspace

About

Example module repo that self documents and tests via nix

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 73.0%
  • Nix 25.2%
  • Makefile 1.8%