runatlantis/atlantis

Policy checks as a sets for different owners

Closed this issue · 1 comments

Good day! Can I define for atlantis several sets of policies for several owners, smt like that?

policies:
  owners:
    users:
      - owner-1
  policy_sets:
    - name: create-resources
      path: /atlantis-data/policies/create-resources.rego
      source: local
  owners:
    users:
      - owner-2
  policy_sets:
    - name: delete-resources
      path: /atlantis-data/policies/delete-resources.rego
      source: local
    - name: update-resources
      path: /atlantis-data/policies/update-resources.rego
      source: local

@raeder1986 That is not supported by current implementation of the policy checking. We have plans on adding this in the future, but timeline is uncertain.