[storage,tables] Update `signedExpiry` to computed value (#19614)
* [storage,tables] Update `signedExpiry` to computed value instead of hard-coded one which has expired and failed test resource deployments * Missed copying `baseTime`
This commit is contained in:
Родитель
9905a97e2a
Коммит
241005ef7f
|
@ -43,6 +43,10 @@
|
|||
"metadata": {
|
||||
"description": "Storage endpoint suffix. The default value uses Azure Public Cloud (core.windows.net)"
|
||||
}
|
||||
},
|
||||
"baseTime": {
|
||||
"type": "string",
|
||||
"defaultValue": "[utcNow('u')]"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
|
@ -64,7 +68,7 @@
|
|||
"signedPermission": "rwdlacup",
|
||||
"signedResourceTypes": "sco",
|
||||
"keyToSign": "key2",
|
||||
"signedExpiry": "2022-01-01T23:59:00Z"
|
||||
"signedExpiry": "[dateTimeAdd(parameters('baseTime'), 'PT2H')]"
|
||||
},
|
||||
"authorizationApiVersion": "2018-01-01-preview",
|
||||
"blobDataContributorRoleId": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/ba92f5b4-2d11-453d-a403-e96b0029c9fe')]",
|
||||
|
|
|
@ -27,6 +27,10 @@
|
|||
"metadata": {
|
||||
"description": "Storage endpoint suffix. The default value uses Azure Public Cloud (core.windows.net)"
|
||||
}
|
||||
},
|
||||
"baseTime": {
|
||||
"type": "string",
|
||||
"defaultValue": "[utcNow('u')]"
|
||||
}
|
||||
},
|
||||
"variables": {
|
||||
|
@ -42,7 +46,7 @@
|
|||
"signedPermission": "rwdlacup",
|
||||
"signedResourceTypes": "sco",
|
||||
"keyToSign": "key2",
|
||||
"signedExpiry": "2022-01-01T23:59:00Z"
|
||||
"signedExpiry": "[dateTimeAdd(parameters('baseTime'), 'PT2H')]"
|
||||
}
|
||||
},
|
||||
"resources": [
|
||||
|
|
Загрузка…
Ссылка в новой задаче