Last active
February 8, 2021 18:02
-
-
Save ljtill/92ad3e228a5a255cb4bc4a9805a8c406 to your computer and use it in GitHub Desktop.
Provides the ability to implement delay feature within Azure deployments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": {}, | |
"functions": [], | |
"variables": {}, | |
"resources": [ | |
{ | |
"type": "Microsoft.Resources/deployments", | |
"apiVersion": "2019-10-01", | |
"name": "[concat('Microsoft.Resources/deployments/delay', '.', copyIndex())]", | |
"location": "[deployment().location]", | |
"scope": "[concat('Microsoft.Management/managementGroups/', '')]", | |
"properties": { | |
"mode": "Incremental", | |
"template": { | |
"$schema": "https://schema.management.azure.com/schemas/2019-08-01/managementGroupDeploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": {}, | |
"resources": [], | |
"outputs": {} | |
} | |
}, | |
"copy": { | |
"batchSize": 1, | |
"count": 20, | |
"mode": "Serial", | |
"name": "DeploymentDelay" | |
} | |
} | |
], | |
"outputs": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment