Skip to content

Commit

Permalink
test: Update workspace id and permissions for Managed Grafana (#4048)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-innis committed Jun 14, 2023
1 parent 26e2d35 commit 391a4ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
K8s_VERSION: 1.25
ACCOUNT_ID: 857221689048
ROLE_NAME: GithubActionsRole
WORKSPACE_ID: ws-076042fb-35be-4a2e-baaa-b2a80780606b
WORKSPACE_ID: ws-d4d85b73-ac6d-4448-b858-363834e66ff4
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ env:
K8s_VERSION: 1.25
ACCOUNT_ID: 857221689048
ROLE_NAME: GithubActionsRole
WORKSPACE_ID: ws-076042fb-35be-4a2e-baaa-b2a80780606b
WORKSPACE_ID: ws-d4d85b73-ac6d-4448-b858-363834e66ff4
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
Expand Down
4 changes: 3 additions & 1 deletion test/gha/cloudformation/grafana_cloudformation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,11 @@ Resources:
PolicyDocument:
Version: "2012-10-17"
Statement:
- Effect: Allow
Action: aps:ListWorkspaces
Resource: "*"
- Effect: Allow
Action:
- aps:ListWorkspaces
- aps:DescribeWorkspace
- aps:QueryMetrics
- aps:GetLabels
Expand Down

0 comments on commit 391a4ae

Please sign in to comment.