-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidTemplateDeployment: The template deployment 'aca-web-update' is not valid according to the validation procedure. #2139
Comments
Please try changing this line in main.bicep to include the lower function:
|
It didn't work with this change ERROR: error executing step command 'provision': initializing provisioning manager: failed to compile bicep template: failed running bicep build: exit code: 1, stdout: , stderr: D:\ProjectOpaliaAI\Opaidemo\infra\core\host\container-apps.bicep(11,7) : Warning no-unused-params: Parameter "applicationInsightsName" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params] |
Apologies, toLower() is the correct function for Bicep |
This issue is for a: (mark with an
x
)Minimal steps to reproduce
Any log messages given by the failure
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:
Deployment Error Details:
InvalidTemplateDeployment: The template deployment 'aca-web-update' is not valid according to the validation procedure. The tracking id is '8f1fab8c-f185-4a0d-9247-c7069df2cce2'. See inner errors for details.
ValidationForResourceFailed: Validation failed for a resource. Check 'Error.Details[0]' for more information.
ContainerAppInvalidRegistryServerValue: Property 'registries.server' has an invalid value 'TestdemoAiacrwf5dg3jvychc6.azurecr.io'. A value consist of hostname and custom port(if present). Hostname must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character. If there is a custom port, use ':' to concat the hostname and port. Port value should be in the range [1,65535].
TraceID: fe0321618af76196646b824323a126c8
Expected/desired behavior
OS and Version?
azd version?
Versions
Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: