Hi!
When visiting my OpenSearch collection and navigating to Indexes I get a "Failed to fetch".
In console Access to fetch at 'https://s2j5l9iozxo8jr73kefi.eu-central-1.aoss.amazonaws.com/_cat/indices' from origin 'https://eu-central-1.console.aws.amazon.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled. Clicking the link gives me a 403 Forbidden.
In Data access policies I have setup the following
Granted resources
Resource type
Permissions
collection/easy-vector-search-collection collection/vector-search-collection collection/opensearch collection/vector-search collection aoss:CreateCollectionItems aoss:DeleteCollectionItems aoss:UpdateCollectionItems aoss:DescribeCollectionItems index/vector-search-collection/* index/opensearch/* index/vector-search/* index aoss:CreateIndex aoss:DeleteIndex aoss:UpdateIndex aoss:DescribeIndex aoss:ReadDocument aoss:WriteDocument
So no policies should be blocking.
You are not logged in. Log in to post an answer.
A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.