Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mmcelreath/terraform-tfe-workspace

Terraform module for creating Terraform Cloud/Enterprise workspaces.
https://github.com/mmcelreath/terraform-tfe-workspace

Last synced: about 1 month ago
JSON representation

Terraform module for creating Terraform Cloud/Enterprise workspaces.

Awesome Lists containing this project

README

        

## Requirements

No requirements.

## Providers

| Name | Version |
|------|---------|
| [tfe](#provider\_tfe) | n/a |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [tfe_variable.var](https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/variable) | resource |
| [tfe_workspace.workspace](https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/workspace) | resource |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [allow\_destroy\_plan](#input\_allow\_destroy\_plan) | (Optional) Whether destroy plans can be queued on the workspace. | `bool` | `null` | no |
| [auto\_apply](#input\_auto\_apply) | (Optional) Whether to automatically apply changes when a Terraform plan is successful. Defaults to false. | `bool` | `null` | no |
| [description](#input\_description) | (Optional) A description for the workspace. | `string` | `null` | no |
| [execution\_mode](#input\_execution\_mode) | (Optional) Which execution mode to use. Using Terraform Cloud, valid values are remote, local oragent. Defaults to remote. Using Terraform Enterprise, only remoteand local execution modes are valid. When set to local, the workspace will be used for state storage only. This value must not be provided if operations is provided. | `string` | `null` | no |
| [name](#input\_name) | (Required) Name of the workspace | `string` | n/a | yes |
| [organization](#input\_organization) | (Required) Name of the organization. | `string` | n/a | yes |
| [structured\_run\_output\_enabled](#input\_structured\_run\_output\_enabled) | (Optional) Whether this workspace should show output from Terraform runs using the enhanced UI when available. Defaults to true. Setting this to false ensures that all runs in this workspace will display their output as text logs. | `bool` | `null` | no |
| [terraform\_version](#input\_terraform\_version) | (Optional) The version of Terraform to use for this workspace. This can be either an exact version or a version constraint (like ~> 1.0.0); if you specify a constraint, the workspace will always use the newest release that meets that constraint. Defaults to the latest available version. | `string` | `null` | no |
| [vcs\_repo](#input\_vcs\_repo) | Map of Version Control settings for VCS workflows.
example:
vcs\_repo = {
identifier = "repo/path" #Required
branch = "main" #Optional
ingress\_submodules = "false" #Optional
oauth\_token\_id = "xxxxxxxx" #Required
} | `map(string)` | `null` | no |
| [workspace\_vars](#input\_workspace\_vars) | Map of Environment variable(s) to be added to workspace.
example:
workspace\_vars = {
env\_var = {
value = "NonSensitiveValue"
category = "env"
sensitive = false
}
terraform\_var = {
value = "**SensitiveValue**"
category = "terraform"
sensitive = true
}
} |

map(object(
{
value = string
category = string
sensitive = bool
}
))
| `null` | no |

## Outputs

| Name | Description |
|------|-------------|
| [workspace](#output\_workspace) | Outputs the values returned by the tfe\_workspace resource. https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/workspace |