Skip to content

Commit d66c37e

Browse files
authored
Adds policy to check remote-exec provisioner exist
1 parent 211cd4c commit d66c37e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import "tfconfig"
2+
3+
main = rule {
4+
all tfconfig.resources.aws_instance as _, r {
5+
any r.provisioners as _, p {
6+
p.type == "remote-exec"
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)