Skip to content

Commit 25ff83c

Browse files
author
Lucas Vieira
committed
Fix indentation in Grafana OpenSearch policy
1 parent c3ca531 commit 25ff83c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/helpers/amazon-opensearch.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -106,18 +106,18 @@ To allow Amazon Managed Grafana to access Amazon OpenSearch domain datasource, f
106106
--output json --no-cli-pager | jq -r .workspace.workspaceRoleArn)
107107
GRAFANA_ROLE=$(echo $GRAFANA_ROLE_ARN | cut -d/ -f3)
108108
cat <<EOF > policy.json
109-
{
110-
"Version": "2012-10-17",
111-
"Statement": [
112-
{
113-
"Effect": "Allow",
114-
"Action": [
115-
"aoss:ListCollections"
116-
],
117-
"Resource": "*"
118-
}
119-
]
120-
}
109+
{
110+
"Version": "2012-10-17",
111+
"Statement": [
112+
{
113+
"Effect": "Allow",
114+
"Action": [
115+
"aoss:ListCollections"
116+
],
117+
"Resource": "*"
118+
}
119+
]
120+
}
121121
EOF
122122
123123
aws iam put-role-policy --role-name $GRAFANA_ROLE \

0 commit comments

Comments
 (0)