We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description Imaging having a .driftignore file with these contents:
.driftignore
aws_iam_role.foo aws_iam_role.bar aws_iam_role.baz # created manually as a test
Running driftctl scan on this will still show aws_iam_role.baz as existing without it being created via IaC.
driftctl scan
aws_iam_role.baz
Changing the .driftignore file to this:
aws_iam_role.foo aws_iam_role.bar # created manually as a test aws_iam_role.baz
results in driftctl properly ignoring the aws_iam_role.baz entry.
driftctl
Environment
How to reproduce See above
Possible Solution Allow in-line comments to be placed, anything besides a # should be ignored. To my knowledge there are no entities that contain a #?
#
Additional context
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Imaging having a
.driftignore
file with these contents:Running
driftctl scan
on this will still showaws_iam_role.baz
as existing without it being created via IaC.Changing the
.driftignore
file to this:results in
driftctl
properly ignoring theaws_iam_role.baz
entry.Environment
How to reproduce
See above
Possible Solution
Allow in-line comments to be placed, anything besides a
#
should be ignored. To my knowledge there are no entities that contain a#
?Additional context
The text was updated successfully, but these errors were encountered: