Skip to content

Commit

Permalink
Fix indentation in Grafana OpenSearch policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Vieira committed Nov 23, 2024
1 parent c3ca531 commit 25ff83c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/helpers/amazon-opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,18 +106,18 @@ To allow Amazon Managed Grafana to access Amazon OpenSearch domain datasource, f
--output json --no-cli-pager | jq -r .workspace.workspaceRoleArn)
GRAFANA_ROLE=$(echo $GRAFANA_ROLE_ARN | cut -d/ -f3)
cat <<EOF > policy.json
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"aoss:ListCollections"
],
"Resource": "*"
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"aoss:ListCollections"
],
"Resource": "*"
}
]
}
EOF
aws iam put-role-policy --role-name $GRAFANA_ROLE \
Expand Down

0 comments on commit 25ff83c

Please sign in to comment.