state-bootstrap
BrynardSecurity-terraform/state-bootstrap/remote
Welcome to Terraform Remote State Bootstrapping Module 👋 !Version   > Terraform module to bootstrap a Terraform Cloud Workspace for Version Control initiated runs. Author 👤 Ralph Brynard Twitter: @DevopsPleb Github: @RalphBrynard Requirements | Name | Version | |------|---------| | tfe | ~> 0.30.2 | Providers | Name | Version | |------|---------| | tfe | 0.30.2 | Modules No modules. Resources | Name | Type | |------|------| | tfe_variable_set.this | resource | | tfe_workspace.this | resource | Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | add\_vcs\_repo | Whet
| Name | Type | Description | Default |
|---|---|---|---|
| customer_name | string | POC customer name | required |
| workspace | string | The name of the workspace where the backend state-file is located | required |
| description | string | The description of the variable | required |
| name | string | Workspace name | required |
| organization | string | Terraform Cloud organization which has the backend state-file | required |
| create_variable_set | bool | Whether or not to create a variable set | false |
| description_suffix | string | Whether to add a suffix to the description of the variable | "" |
| execution_mode | string | Which execution mode to use. Available options: remote, local, or agent | "remote" |
| tags | list(string) | Tags to apply to workspace | [] |
| working_directory | string | Working directory of the VCS repository from which TF plans are run | "/" |
| workspace_variable | bool | Whether this variable should be attached to a workspace | false |
| auto_apply | bool | Whether to automatically apply changes when a Terraform plan is successful. Defa | false |
| vcs_branch | string | Branch of the VCS Repository to add. Default is 'main' | "main" |
| category | string | Whether this is a Terraform or environment variable. Available options: terrafor | "terraform" |
| hcl | bool | Whether to evaluate the value of the variable as a string of HCL code | false |
| oauth_token_id | string | The VCS Connection token to use | "" |
| variable_set | bool | Whether this variable should be added to a variable set | true |
| add_vcs_repo | bool | Whether or not to add a VCS repo to this workspace | false |
| allow_destroy_plan | bool | Whether destroy plans can be queued on the workspace | false |
| workspace_description | string | Description of the workspace | "" |
| global | bool | Should the variable set be available globally or only to specific workspaces | false |
| sensitive | bool | Whether the variable value is sensitive | false |
| vcs_repository | string | The VCS Repository to add to the workspace | "" |
workspace_idrepository