|
5 | 5 | "_generator": { |
6 | 6 | "name": "bicep", |
7 | 7 | "version": "0.33.93.31351", |
8 | | - "templateHash": "15513953893093752510" |
| 8 | + "templateHash": "15839381951477066016" |
9 | 9 | } |
10 | 10 | }, |
11 | 11 | "parameters": { |
|
1721 | 1721 | "[resourceId('Microsoft.Resources/deployments', format('{0}-{1}--private-endpoint', parameters('name'), parameters('uniqueSuffix')))]" |
1722 | 1722 | ] |
1723 | 1723 | }, |
1724 | | - { |
1725 | | - "type": "Microsoft.Resources/deployments", |
1726 | | - "apiVersion": "2022-09-01", |
1727 | | - "name": "[format('wait-script-{0}-deployment', parameters('uniqueSuffix'))]", |
1728 | | - "properties": { |
1729 | | - "expressionEvaluationOptions": { |
1730 | | - "scope": "inner" |
1731 | | - }, |
1732 | | - "mode": "Incremental", |
1733 | | - "parameters": { |
1734 | | - "name": { |
1735 | | - "value": "[format('wait-script-{0}', parameters('uniqueSuffix'))]" |
1736 | | - }, |
1737 | | - "location": { |
1738 | | - "value": "[parameters('location')]" |
1739 | | - } |
1740 | | - }, |
1741 | | - "template": { |
1742 | | - "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", |
1743 | | - "contentVersion": "1.0.0.0", |
1744 | | - "metadata": { |
1745 | | - "_generator": { |
1746 | | - "name": "bicep", |
1747 | | - "version": "0.33.93.31351", |
1748 | | - "templateHash": "15002511661880391263" |
1749 | | - } |
1750 | | - }, |
1751 | | - "parameters": { |
1752 | | - "name": { |
1753 | | - "type": "string" |
1754 | | - }, |
1755 | | - "location": { |
1756 | | - "type": "string" |
1757 | | - }, |
1758 | | - "retentionTime": { |
1759 | | - "type": "string", |
1760 | | - "defaultValue": "PT1H" |
1761 | | - } |
1762 | | - }, |
1763 | | - "resources": [ |
1764 | | - { |
1765 | | - "type": "Microsoft.Resources/deploymentScripts", |
1766 | | - "apiVersion": "2023-08-01", |
1767 | | - "name": "[parameters('name')]", |
1768 | | - "location": "[parameters('location')]", |
1769 | | - "kind": "AzurePowerShell", |
1770 | | - "properties": { |
1771 | | - "azPowerShellVersion": "10.0", |
1772 | | - "scriptContent": " Write-Output \"Starting wait script...\"\n Start-Sleep -Seconds 120\n Write-Output \"Wait completed. Proceeding with deployment...\"\n ", |
1773 | | - "retentionInterval": "[parameters('retentionTime')]", |
1774 | | - "cleanupPreference": "Always" |
1775 | | - } |
1776 | | - } |
1777 | | - ], |
1778 | | - "outputs": { |
1779 | | - "scriptName": { |
1780 | | - "type": "string", |
1781 | | - "value": "[parameters('name')]" |
1782 | | - } |
1783 | | - } |
1784 | | - } |
1785 | | - }, |
1786 | | - "dependsOn": [ |
1787 | | - "[resourceId('Microsoft.Resources/deployments', format('{0}-{1}--project', parameters('name'), parameters('uniqueSuffix')))]" |
1788 | | - ] |
1789 | | - }, |
1790 | 1724 | { |
1791 | 1725 | "type": "Microsoft.Resources/deployments", |
1792 | 1726 | "apiVersion": "2022-09-01", |
|
1877 | 1811 | "dependsOn": [ |
1878 | 1812 | "[resourceId('Microsoft.Resources/deployments', format('{0}-{1}--dependencies', parameters('name'), parameters('uniqueSuffix')))]", |
1879 | 1813 | "[resourceId('Microsoft.Resources/deployments', format('{0}-{1}--project', parameters('name'), parameters('uniqueSuffix')))]", |
1880 | | - "[resourceId('Microsoft.Resources/deployments', format('{0}-{1}--identity', parameters('name'), parameters('uniqueSuffix')))]", |
1881 | | - "[resourceId('Microsoft.Resources/deployments', format('wait-script-{0}-deployment', parameters('uniqueSuffix')))]" |
| 1814 | + "[resourceId('Microsoft.Resources/deployments', format('{0}-{1}--identity', parameters('name'), parameters('uniqueSuffix')))]" |
1882 | 1815 | ] |
1883 | 1816 | }, |
1884 | 1817 | { |
|
1960 | 1893 | "dependsOn": [ |
1961 | 1894 | "[resourceId('Microsoft.Resources/deployments', format('{0}-{1}--dependencies', parameters('name'), parameters('uniqueSuffix')))]", |
1962 | 1895 | "[resourceId('Microsoft.Resources/deployments', format('{0}-{1}--project', parameters('name'), parameters('uniqueSuffix')))]", |
1963 | | - "[resourceId('Microsoft.Resources/deployments', format('{0}-{1}--identity', parameters('name'), parameters('uniqueSuffix')))]", |
1964 | | - "[resourceId('Microsoft.Resources/deployments', format('wait-script-{0}-deployment', parameters('uniqueSuffix')))]" |
| 1896 | + "[resourceId('Microsoft.Resources/deployments', format('{0}-{1}--identity', parameters('name'), parameters('uniqueSuffix')))]" |
1965 | 1897 | ] |
1966 | 1898 | }, |
1967 | 1899 | { |
|
0 commit comments