I have an opensearch AWS account, and in it I created a domain in the eu-west-1 region.
I have a test AWS account. I added it as an authorized principal to the opensearch domain. In the test AWS account I created a VPC in the same region (eu-west-1) and I was then able to create an opensearch endpoint in the test VPC.
I then created a production AWS account. Again I added this account as an authorized principal to the opensearch domain. In the production AWS account I created a VPC in a different region (eu-west-3). I was unable to create an opensearch endpoint in the production VPC. It did not explicitly tell me that there was an issue due to the regions being different. The error message that I received was:
"Either the domain doesn't exist, it doesn't support creation of VPC endpoints, or you don't have permission to create a VPC endpoint for the domain"
As far as I can tell, none of these three statements are true. The domain does exist, it does support the creation of VPC endpoints, and I should have permission to create a VPC endpoint for the domain since I have added the account to the authorized principals list.
Has anybody been able to create a cross-region, cross-account opensearch VPC endpoint? What am I missing?