Skip to content

Commit

Permalink
CCL-1878: Adding Viewer policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaikh-ho committed Feb 3, 2025
1 parent 0fd4410 commit ca16d81
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions examples/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@ module "example" {
}
}
}

group_viewer = {
attached_policies = {
CC-Viewer-User = {
environment = "tvy38626"
}
}
}
}

iam_policies = {
Expand All @@ -30,6 +38,23 @@ WHERE environment:management-zone IN ("zone2", "$${bindParam:my-policy-param}");
EOT
policy_static = "ALLOW settings:objects:read;"
CC-Viewer-User = <<EOT
ALLOW storage:buckets:read,
storage:metrics:read,
storage:spans:read,
storage:bizevents:read,
storage:events:read,
storage:system:read,
storage:application.snapshots:read,
storage:entities:read,
storage:user.events:read,
storage:user.sessions:read,
storage:fieldsets:read,
storage:logs:read,
storage:bucket-definitions:read,
storage:filter-segments:read;
EOT
}

accountUUID = "a8c6fb99-cc30-46b5-9306-1111111"
Expand Down

0 comments on commit ca16d81

Please sign in to comment.