leg100 / pug

Drive terraform at terminal velocity.
Mozilla Public License 2.0
439 stars 7 forks source link

feat: always load a default workspace #119

Closed leg100 closed 1 month ago

leg100 commented 1 month ago

Alters the workspace loading behaviour. Previously workspace list would be the only method via which workspaces are loaded into Pug. Now, the a module will always have at least a default workspace, which is always the case with terraform. Also, the module's .terraform/environment is inspected to check the current workspace. If that specifies a non-default workspace, then that too is loaded into Pug.