Last active
October 26, 2017 14:40
-
-
Save skierkowski/69a4a322fc0aa6d80d32bbc4831dfa4a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "tfplan" | |
main = rule { | |
all tfplan.resources.aws_instance as _, instances { | |
all instances as _, r { | |
r.applied contains "tags" and | |
r.applied.tags contains "billing-id" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment