1 Answer
- Newest
- Most votes
- Most comments
2
EncryptionPolicy should be created prior to creating the collection. Can you try creating an encryption policy first using https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/opensearchserverless#Client.CreateSecurityPolicy and then create collection.
I think it's not mentioned on API docs, but seems to be mentioned here in the product page: https://docs.aws.amazon.com/opensearch-service/latest/developerguide/serverless-manage.html#:~:text=Create%20a%20collection%20(CLI)
answered a year ago
Relevant content
- Accepted Answerasked 7 months ago
- asked 4 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
Thanks that was it