title: Azure ARM Template and PowerShell Module
body: <p>I have a module published on PowerShell Gallery and I want to deploy this module with Azure ARM Template. And I did not find how!</p>
  <p>Here is my template:</p>
  <pre><code>   &quot;resources&quot;: [
    {
       &quot;name&quot;: &quot;[variables('automationAccountName')]&quot;,
       &quot;type&quot;: &quot;Microsoft.Automation/automationAccounts&quot;,
       &quot;apiVersion&quot;: &quot;2015-10-31&quot;,
       &quot;location&quot;: &quot;[parameters('AutomationLocation')]&quot;,
       &quot;tags&quot;: {
          &quot;displayName&quot;: &quot;Compte Automation&quot;
       },
       &quot;properties&quot;: {
          &quot;sku&quot;: {
             &quot;name&quot;: &quot;Basic&quot;,
             &quot;family&quot;: &quot;B&quot;
          }
       },
       &quot;resources&quot;: [
          {
             &quot;name&quot;: &quot;[variables('powerShellGalleryModuleName')]&quot;,
             &quot;type&quot;: &quot;modules&quot;,
             &quot;apiVersion&quot;: &quot;2015-10-31&quot;,
             &quot;location&quot;: &quot;[parameters('AutomationLocation')]&quot;,
             &quot;properties&quot;: {
                &quot;isGlobal&quot;: false,
                &quot;sizeInBytes&quot;: 0,
                &quot;contentLink&quot;: {
                      &quot;uri&quot;: &quot;[variables('powerShellGalleryModule')]&quot;
                }
             }
          }
       ]
    }
  ]
  </code></pre>
  <p>What should be provided for the variable <code>powerShellGalleryModule</code>?</p>