zsh is installed by default on macs and this is a bad experience as I just used what worked on bash + on the docs:
$ driftctl scan --from tfstate://**/*.tfstate
zsh: no matches found: tfstate://**/*.tfstate
$ bash
bash-3.2$ driftctl scan --from tfstate://**/*.tfstate
Scanned states (3)
Found resources not covered by IaC:
aws_internet_gateway:
- igw-01f1b9d38973e31ce
[...]
On zsh we should use something like driftctl scan --from 'tfstate://**/*.tfstate'
Let's update the docs!
It works well with bash too:
bash-3.2$ driftctl scan --from 'tfstate://**/*.tfstate'
Scanned states (3)
Found resources not covered by IaC:
aws_internet_gateway:
- igw-01f1b9d38973e31ce
[...]
Why not documenting using the quotes be the default?
zsh is installed by default on macs and this is a bad experience as I just used what worked on bash + on the docs:
On zsh we should use something like
driftctl scan --from 'tfstate://**/*.tfstate'Let's update the docs!
It works well with bash too:
bash-3.2$ driftctl scan --from 'tfstate://**/*.tfstate' Scanned states (3) Found resources not covered by IaC: aws_internet_gateway: - igw-01f1b9d38973e31ce [...]Why not documenting using the quotes be the default?