async create failed: failed to create the resource: [{0 updating OpenSearch Domain Policy (): ValidationException: 2 validation errors detected: Value ''arn:aws:es:eu-west-2:*******:domain/company-opensearch'' at ''domainName'' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-z][a-z0-9\-]+; Value ''arn:aws:es:eu-west-2:*******:domain/company-opensearch'' at ''domainName'' failed to satisfy constraint: Member must have length less than or equal to 28 []}]'
### What happened?
It's the first time I try to create a DomainPolicy, so no difference. Just that it doesn't seems to work as expected
### Relevant Error Output Snippet
_No response_
### Crossplane Version
1.16.0
### Provider Version
1.8.0 (also tried with 1.7.0)
### Kubernetes Version
1.29
### Kubernetes Distribution
EKS
### Additional Info
_No response_
Is there an existing issue for this?
Affected Resource(s)
Resource MRs required to reproduce the bug
No response
Steps to Reproduce
Just trying to add an access policy to my opensearch domain:
is returning the following error: