Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able to use all states within a directory #253

Closed
eliecharra opened this issue Feb 12, 2021 · 1 comment · Fixed by #292
Closed

Be able to use all states within a directory #253

eliecharra opened this issue Feb 12, 2021 · 1 comment · Fixed by #292
Assignees
Labels
kind/enhancement New feature or improvement priority/2
Milestone

Comments

@eliecharra
Copy link
Contributor

Description
We want to allow to read a whole directory as IaC input.

Example

$ driftctl scan --tfstate://my-states/*.tfstate
@eliecharra eliecharra added the kind/enhancement New feature or improvement label Feb 12, 2021
@eliecharra eliecharra added this to the v0.6.0 milestone Feb 12, 2021
@eliecharra eliecharra self-assigned this Feb 24, 2021
@eliecharra eliecharra assigned sjourdan and unassigned eliecharra Feb 26, 2021
@eliecharra eliecharra linked a pull request Feb 26, 2021 that will close this issue
@sjourdan
Copy link
Contributor

sjourdan commented Mar 3, 2021

LGTM!

I tested with multiple states + an out of sync s3 state:

Found unmanaged resources:
  aws_s3_bucket:
    - s3-bucket-1-6qaidu

then I sync'd the state locally:

Found 1 resource(s)
 - 100% coverage
Congrats! Your infrastructure is fully in sync.

@sjourdan sjourdan closed this as completed Mar 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or improvement priority/2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants