Document the full OpenSearch indexer permission list

Merged
KH
25d ago
+3-3

The aws/search README's indexer example granted only write and cluster_monitor, so following it leaves index bootstrap with a 403, which is what happened on dev.

The example now grants the list applied and read back on the dev domain:

  • Cluster: cluster_monitor, indices:data/write/bulk
  • Index, on relayhistory-*: write, create_index, indices:data/write/bulk*, indices:monitor/settings/get, indices:admin/mapping/put

Docs only. The reader example is unchanged.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Updates the aws/search README so the indexer role example grants the full permission list needed for index bootstrap and _bulk on OpenSearch.

The previous example only granted write and cluster_monitor, so following it caused index bootstrap to fail with a 403 on the dev domain. The example now matches the permissions applied and read back on dev, covering cluster bulk and index bootstrap actions on relayhistory-*. The reader role example is unchanged.

Docs only.