• Docs
  • Common Use Cases
  • Security
  • Separate Controls per Workspace

Separate Controls per Workspace

Define separate policies per workspace.

dirs:
  aws:
    tags: [aws]
    workspaces:
      qa:
        tags: [qa]
      production:
        tags: [production]
access_control:
  policies:
    - tag_query: aws qa
      plan: ['*']
      apply: ['*']
    - tag_query: aws production
      plan: ['*']
      apply: ['team:sre']