on:[function name]-edge:2 because it is a replicated function. Please see our documentation for Deleting Lambda@Edge Functions and Replicas
</code></pre>
<p>In that case, simply run <code class="inline">yarn infra destroy [deploymentName]</code> again until it is successful.</p>
<h3 class="heading"><span id="error-error-creating-cloudfront-distribution-accessdenied-1"></span><a href="#error-error-creating-cloudfront-distribution-accessdenied-1"><span id="error-error-creating-cloudfront-distribution-accessde