You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
utcNow() as per the documentation can only be assigned as the default value of a parameter. This means if the sole function of using utcNow() is to calculate some time T in the future (for example for SAS token expiry) then a parameter is being exposed when it ought not to be.
Describe the solution you'd like
Allow utcNow() to be called anywhere inside the template and/or templateStartTime() (or better-named) to be called anywhere inside the template which has the time the instant the template was invoked (what utcNow() as a default parameter does now, but while keeping utcNow() unchanged).
The text was updated successfully, but these errors were encountered:
any progress on this?
If (and only in that case) my container app is redeployed, i need to create a unique name for the revision suffix. don't know another way than the above solution. Passing in a date(or something else) would create a new revision each deloy...
Is your feature request related to a problem? Please describe.
utcNow()
as per the documentation can only be assigned as the default value of a parameter. This means if the sole function of usingutcNow()
is to calculate some timeT
in the future (for example for SAS token expiry) then a parameter is being exposed when it ought not to be.Describe the solution you'd like
Allow
utcNow()
to be called anywhere inside the template and/ortemplateStartTime()
(or better-named) to be called anywhere inside the template which has the time the instant the template was invoked (whatutcNow()
as a default parameter does now, but while keepingutcNow()
unchanged).The text was updated successfully, but these errors were encountered: