Support Terraform workspaces for creating infra on demand #981
Labels
No labels
dependencies
difficulty::high
difficulty::low
difficulty::medium
good first issue
help wanted
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
justin/makes#981
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We can use Terraform workspaces to provision multiple replicas of the same infrastructure. This can be very useful when dealing with development environments.
Let's make Terraform builtins support passing an environment variable name that can be later evaluated to use a specific Terraform workspace.
That way it would be possible to use custom Makes jobs for selecting a workspace and then passing it via environment to such builtins.
Make the following builtins support a workspace environment variable:
I think creating a
workspaceForTerraformFromEnvbuiltin that could later be imported by the setup would be much better.