workspace-orchestrator

aws-ia/workspace-orchestrator/tfe

Terraform Module HCL TFE ✓ Verified

A module for deploying terraform code to Terraform Cloud Workspaces

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

Terraform Cloud Multi-Region Deployment with Workspaces If you want to deploy a terraform module to multiple locations (different VPCs, Regions, Accounts) this module can help. In most examples we use regions as the location separator but that doesnt have to be the case. The premise is simple, create your root module in a public VCS repo then using your Terraform Cloud (TFC) Organization, create workspaces for each deployment location. Usage To use you must have: 1. Terraform Cloud Organization with Admin Access 1. VCS repo with your HCL root module 1. Connect the repo to TFC (To be automated) Once the above is complete, simply execute this module with references for each location in a way that TFC can reference. Workspaces Workspaces are defined in a nested map as each deployment location

Inputs (5)
NameTypeDescriptionDefault
organizationstringTFC Organization required
workspacesanyNested map of workspaces to create and the associated arguments they can accept: required
shared_workspace_tag_nameslist(any)Tag names to set for all workspaces. To set per-workspace, see `var.workspaces`.[]
vcs_repoobject({ branch Definition of the VCS repo to attach to every workspace.null
shared_variable_set_idslist(string)A variable set ID to set to all workspaces. Use if you have a pre-existing varia[]
Outputs (1)
workspaces_attributes — Attributes associated with the created workspaces.
Resources (4)
tfe_variabletfe_workspacetfe_workspace_settingstfe_workspace_variable_set
Details
FrameworkTerraform Module
LanguageHCL
Version1.1.1
Cloud TFE
★ Stars6
Forks9
Total downloads854
Inputs5
Outputs1
Resources4
Examples2
LicenseApache-2.0
Namespaceaws-ia
Updated