Releases: cloudposse-archives/terraform-tfe-cloud-infrastructure-automation
Releases · cloudposse-archives/terraform-tfe-cloud-infrastructure-automation
v0.2.0
Adds a handful of fixes + enhancements to the module @Gowiem (#6)
what
- This was a long running branch that I was working on to make this module work with a client project. It includes the following fixes / enhancements:
- Fixes an issue with triggers causing a null pointer exception when none passed.
- Adds the ability to pass multiple filename triggers for a workspace
- Updates context.tf
- Adds the ability to pass a
terraform_version
per workspace - Adds the ability to pass
remote_execution_mode
to a workspace for workspaces that just need state. - Fixes #4 -- Adds the ability to pass complex types (lists / maps) as
vars
to a workspace. See issue for full details on this one and variables/main.tf lines 2-8 for the guts of the fix. - Adds the ability to pass
vcs_branch
to a workspace to override the branch.
why
- These fixes / enhancements were made as part of moving over a larger client project with ~12 root modules. I believe they're largely self explanatory, but if not then I'm happy to share more info.
references
Notes
- Happy to pull any of these fixes / enhancements to another PR if we want to discuss them individually
- If ya'll would like, I can update the example / tests for these new items if / where needed.
Feedback
- Root workspaces (the stack file’s workspace) — These feel a bit odd in that they are not currently useful for my project. Still personally working through why they’re necessary. AFAIU, these top level workspaces are created for the stack to trigger changes when top level env vars change. But I find that to be a very rare occurrence on my end, so they then end up creating a bunch of workspaces that are unnecessary and bloat the UI. I would like hear your folks use-case for these and understand what I'm missing here.
- Docs — Needs a better README to walk a consumer through the hierarchy. I dug into the src a bunch over an afternoon of hacking on it to figure it out.
0.1.0: Adding initial draft of new module (#2)
* initial commit * remove configs * move to modules folder * move to modules folder * Move providers block to main.tf * mid clean up * Remove logic from workspace submodule * Clean up outputs and versions from workspaces module * chore: general clean-up * chore: working config and project workspaces * chore: fix file trigger for config workspace * chore: move config module to root * chore: README * chore: interim commit * Initial commit * Updating comments * Adding support for custom project folders * Updating some comments * Updating comment in modules/variables/main.tf Co-authored-by: Erik Osterman <[email protected]> * Making a few recommended updates * Updating examples & fixing a few things * Adding new example configs & renaming fixtures * Update examples/complete/config/ue2-dev.yaml Co-authored-by: Erik Osterman <[email protected]> * Update examples/complete/config/ue2-dev.yaml Co-authored-by: Erik Osterman <[email protected]> * Updating README * Renaming example configs * Update examples/complete/config/gbl-root.yaml Co-authored-by: Erik Osterman <[email protected]> * Formatting updates * Adding references to docs * More README updates * More README updates * More README updates * Updating example environment name * Making auto_apply and filename_trigger configurable via YAML config at the project level * Update examples/complete/config/ue2-testing.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Updating README * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Update README.yaml Co-authored-by: Erik Osterman <[email protected]> * Documentation updates! * Fixing config example indentation * Update README.yaml Co-authored-by: Andriy Knysh <[email protected]> * Update README.yaml Co-authored-by: Andriy Knysh <[email protected]> * Updating example variable descriptions & defaults * Updating descriptions & Terraform format * Adding missing descriptions to project variables * Update modules/project/variables.tf Co-authored-by: Andriy Knysh <[email protected]> * Update modules/project/variables.tf Co-authored-by: Andriy Knysh <[email protected]> * Adding type to workspace 'name' variable * Fixing types * Updating descriptions * Additional description updates * Update variables.tf Co-authored-by: Andriy Knysh <[email protected]> * Updating documentation and Github workflows * Fixing format Co-authored-by: Hugo Samayoa <[email protected]> Co-authored-by: John C. Bland II <[email protected]> Co-authored-by: Dan Meyers <[email protected]> Co-authored-by: Erik Osterman <[email protected]> Co-authored-by: Andriy Knysh <[email protected]>