title: How to reference a parameter within a parameter in an ARM template?
body: <p>I can't seem to find any way to use the value of a parameter as part of another parameter in a <strong>parameter file</strong> for ARM templates:</p>
  
  <pre><code>{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
      "someCustomParam": {
          "value": "desired value"
      },
      "tags": {
          "value": {
              "tag1": "[parameters('someCustomParam')]",
              "tag2": "some tag value"
          }
      },
    }
  }
  </code></pre>
  
  <p>Notice how I want to use the value of a previous parameter for the value of another.</p>
  
  <p>The value for "tag1" is simply the string and the value does not get substituted in from the parameter() function. I've tested this by using the <code>Test-AzResourceGroupDeployment</code> PowerShell cmdlet.</p>
  
  <p>Is there any way I can do this?</p>