-
Notifications
You must be signed in to change notification settings - Fork 178
Open
Labels
kind/bugSomething isn't workingSomething isn't working
Description
Description
Imaging having a .driftignore
file with these contents:
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.
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.
Environment
- OS: Ubuntu / Alpine
- driftctl version: v0.39.0
- terraform version: v1.5.6
- terraform providers versions:
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
Metadata
Metadata
Assignees
Labels
kind/bugSomething isn't workingSomething isn't working