neilpeterson / azure-blueprints-pipeline-tasks

MIT License
17 stars 16 forks source link

Missing parameter in blueprint.json #67

Open shaneneff1 opened 4 years ago

shaneneff1 commented 4 years ago

I am getting the following error:

[error]This artifact is invalid. Error: 'Blueprint parameter 'addatagtoresources_tagName' referenced by artifact '06753083-44ef-40d1-88d5-4d36cf50761a' does not exist in blueprint

The parameter exists in the blueprint file and has a value: _"addatagtoresourcestagName": { "type": "string", "metadata": { "displayName": "Tag Name (Policy: Add a tag to resources)" }, "defaultValue": "Cost Center"

Here are how the parameters are defined in the artifact json file:

_{ "kind": "policyAssignment", "properties": { "displayName": "Add a tag to resources", "dependsOn": [], "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/4f9dc7db-30c1-420c-b61a-e1d640128d26", "parameters": { "tagName": { "value": "[parameters('addatagtoresources_tagName')]" }, "tagValue": { "value": "[parameters('addatagtoresourcestagValue')]" } } } }