-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Open
Description
For lack of a better place to post this:
I get the following error when trying to deploy a container app using a template. As you can read from the error message, the error is obviously not as described, since my revision name follows the conventions. Also the container app name is test-api and therefore they are less than 54 characters together. Seems like a bug, as the error message seems to be wrong.
{
"code": "InvalidTemplateDeployment",
"details": [
{
"code": "ValidationForResourceFailed",
"message": "Validation failed for a resource. Check 'Error.Details[0]' for more information.",
"details": [
{
"code": "ContainerAppInvalidRevisionName",
"message": "Revision name has an invalid value 'testrevision'. A revision name must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character. The length of the revision name must not be more than a combined 54 characters with the container app name."
}
]
}
],
"message": "The template deployment 'Microsoft.Template-20260107190801' is not valid according to the validation procedure. The tracking id is 'b798306a-b958-471a-84ad-1ccb076617bf'. See inner errors for details."
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels