I have a terraform project set up with a terraform remote backend utilizing terraform cloud to handle workspace state.
When I run terraform init locally I get an output asking me to select a workspace.
Is there any possible way to dynamically pass a value when using this setup in a CI/CD solution ?
Initializing the backend...
The currently selected workspace (default) does not exist.
This is expected behavior when the selected workspace did not have an
existing non-empty state. Please enter a number to select a workspace:
1. management
2. production
3. staging
Enter a value: