How to Troubleshoot an Azure Storage Account with a Private Endpoint and a Container with Terraform
<p>Today, we will discuss a common error when deploying an <strong>Azure Azure Storage Account with a Private Endpoint</strong> with Terraform.</p>
<p>After we try to add a <strong>Storage Account Container</strong>, we receive the following error:</p>
<blockquote>
<p>Error: containers.Client#GetProperties: Failure responding to request: StatusCode=403 — Original Error: autorest/azure: Service returned an error. Status=403 Code=”AuthorizationFailure” Message=”This request is not authorized to perform this operation.\nRequestId:1b7570b6–101e-005f-296f-f7f2e3000000\nTime:2023–10–05T09:37:49.1892533Z”</p>
</blockquote>
<h1>1. Our Scenario</h1>
<ol>
<li>We have a virtual machine running Terraform.</li>
</ol>
<ul>
<li>Resource group <strong>“kopicloud-core-dev-we-rg”</strong></li>
<li>Virtual Network “<strong>kopicloud-core-dev-we-vnet”</strong></li>
<li>Subnet <strong>“kopicloud-core-dev-we-subnet”</strong></li>
</ul>
<p>2. We have an existing <strong>“privatelink.blob.core.windows.net”</strong> Private DNS Zone.</p>
<ul>
<li>Resource group <strong>“kopicloud-core-dev-we-dns-rg”</strong></li>
</ul>
<p><a href="https://gmusumeci.medium.com/how-to-troubleshoot-an-azure-storage-account-with-a-private-endpoint-and-a-container-with-terraform-c907f8f49d2b"><strong>Read More</strong></a></p>