title: OpenSearch fails to create even with service linked role - Cloudformation
body: <p>I am deploying a Opensearch Domain in Cloudformation, however even though I am creating a service linked role for OpenSearch it still fails to create, with the error in the image below:</p>
  <p><a href="https://i.stack.imgur.com/HmRKk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HmRKk.png" alt="enter image description here" /></a></p>
  <p>The template is as:</p>
  <pre><code>OpenSearchRole:
      Type: 'AWS::IAM::ServiceLinkedRole'
      Properties:
        AWSServiceName: es.amazonaws.com
        Description: 'Role for ES to access resources in my VPC'
  
    OpenSearchDomain:
      Type: &quot;AWS::OpenSearchService::Domain&quot;
      DependsOn: [OpenSearchRole]
      Properties:
        Required properties
  </code></pre>
  <p>As this happen to anyone else, if so how am I able to solve this?
  I'm not sure if this might be because the service linked role takes sometime to propagate or something like that.</p>
  <p>Any suggestions?</p>