snyk / driftctl

Detect, track and alert on infrastructure drift
Apache License 2.0
2.43k stars 150 forks source link

get all terraform workspaces by default #1594

Open Maarc-D opened 1 year ago

Maarc-D commented 1 year ago

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

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

illmaticz commented 1 year ago

+1