Description
In the normal usage the driftctl scan command take in account the current terraform workspace of your code
It is possible to add multiples using the --from arguments (1 time by workspace) but could be great that all workspaces of the backend are included by default
Example
Before
Reading resources from state backend=azurerm path=tfstate/baseenv:DEV
After
Reading resources from state backend=azurerm path=tfstate/baseenv:DEV
Reading resources from state backend=azurerm path=tfstate/baseenv:TEST
Reading resources from state backend=azurerm path=tfstate/baseenv:PREPROD
Reading resources from state backend=azurerm path=tfstate/baseenv:PROD
Reading resources from state backend=azurerm path=tfstate/base
Here it's a sample for Azure but I assume it same for other backend from other cloud providers, I will test and update the issue with samples if needed
If I can I'll get a look to propose an implementation
Description In the normal usage the
driftctl scan
command take in account the current terraform workspace of your code It is possible to add multiples using the--from
arguments (1 time by workspace) but could be great that all workspaces of the backend are included by defaultExample
Here it's a sample for Azure but I assume it same for other backend from other cloud providers, I will test and update the issue with samples if needed
If I can I'll get a look to propose an implementation