📜  标记的哨兵策略 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:09.901000             🧑  作者: Mango

代码示例1
import "tfplan"

main = rule {
  all tfplan.resources.aws_instance as _, instances {
    all instances as _, r {
      (length(r.applied.tags) else 0) > 0
    }
  }
}