[PR #106] [MERGED] Added workspace support #169

Closed
opened 2026-05-06 12:37:58 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/patrickchugh/terravision/pull/106
Author: @thatguyfig
Created: 2/21/2024
Status: Merged
Merged: 2/25/2024
Merged by: @patrickchugh

Base: mainHead: main


📝 Commits (4)

📊 Changes

3 files changed (+68 additions, -46 deletions)

View changed files

📝 README.md (+5 -2)
📝 modules/tfwrapper.py (+23 -25)
📝 terravision (+40 -19)

📄 Description

Added workspace support

Type of Change

  • Bug Fix
  • New Feature
  • Refactor
  • Documentation

Info

Adds the ability to use the --workspace parameter to activate the relevant terraform workspace before running terraform plan. Also defaults to default if it is not supplied, if terraform fails to activate the workspace, then the execution fails.

Have been able to use this personally and works well.

P.S - all the other changes were formatter related where lines were too complicated (style)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/patrickchugh/terravision/pull/106 **Author:** [@thatguyfig](https://github.com/thatguyfig) **Created:** 2/21/2024 **Status:** ✅ Merged **Merged:** 2/25/2024 **Merged by:** [@patrickchugh](https://github.com/patrickchugh) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`fb719f9`](https://github.com/patrickchugh/terravision/commit/fb719f9d378f12ee675d3d7d008bac54cf673f94) Added workspace support - [`b495991`](https://github.com/patrickchugh/terravision/commit/b495991b77b5c516ff6def202d3b6733265c890e) added section in readme - [`6fbf0ef`](https://github.com/patrickchugh/terravision/commit/6fbf0ef3007a3a87169c9335a9de400637a44054) Added version checking - [`432d58c`](https://github.com/patrickchugh/terravision/commit/432d58c05c282db2429991d59c7ca91d0e76a374) Formatting ### 📊 Changes **3 files changed** (+68 additions, -46 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+5 -2) 📝 `modules/tfwrapper.py` (+23 -25) 📝 `terravision` (+40 -19) </details> ### 📄 Description # Added workspace support ## Type of Change * [ ] Bug Fix * [X] New Feature * [X] Refactor * [ ] Documentation ## Info Adds the ability to use the `--workspace` parameter to activate the relevant terraform workspace before running `terraform plan`. Also defaults to `default` if it is not supplied, if terraform fails to activate the workspace, then the execution fails. Have been able to use this personally and works well. P.S - all the other changes were formatter related where lines were too complicated (style) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:37:58 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/terravision#169
No description provided.