Martin
Martin

Reputation: 597

ARM TTK Tests "apiVersions Should Be Recent" failing

I'm trying to implement some tests for the ARM template that I've got in my pipeline but I'm getting a failure on api versions being too old.

api versions must be the latest or under 2 years old (730 days) - API
version 2017-07-01 of Microsoft.Logic/workflows is 1822 days old in
template file logicApp.template.json

But I can't find a more recent version to pick from in the options that appear in editor.

My template looks like this...

........"type": "Microsoft.Logic/workflows",
            "apiVersion": "2017-07-01",
            "name": "[variables('createIncidentLogicAppName')]",
            "location": "[resourceGroup().location]",
            "properties": {
                "state": "Enabled",
                "definition": {
                    "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
                    "contentVersion": "1.0.0.0",
                    "parameters": {
                        "$connections": {
                            "defaultValue": {},
                            "type": "Object"
                        }......

Is there a way around this? If the latest api version available is more than 2 years old I don't see how I can ever make this pass.

Upvotes: 0

Views: 251

Answers (0)

Related Questions