snyk / driftctl

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

get all terraform workspaces by default #1594

Open Maarc-D opened 2 years ago

Maarc-D commented 2 years 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 2 years ago

+1