Skip to content

Commit 5a48f60

Browse files
authored
Merge pull request hashicorp#63 from hashicorp/add_new_sentinel_policy
Adds policy to check remote-exec provisioner exist
2 parents 211cd4c + d66c37e commit 5a48f60

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)