Open gayuPawar opened 4 months ago
@gayuPawar thank you for reporting.
@hatboyzero Matt can you take a look at this?
@gayuPawar, we've made some changes to this deployment in the last 1-2 days that may address these issues. Would it be possible to try this deployment again after we merge these?
@markjbrown Could you give me specific time so I can try to run project again.
Please share updated github URL .
I think I see the issue that may cause both issues. Are you using a hyphen as the first character in your environment name? If so, replace with an alpha-numeric.
If that is not the issue, we just pushed new changes yesterday. Feel free to try again. I should note that the entire project structure has been updated so you will end up with untracked artifacts in your local branch. You may want to clear these out or simply re-clone.
thanks.
After github url I am following mentioned document in the github which we are deploying using azure container apps . I have faced the issues mentioned below.
1.This is the first Issue I got and I tried to resolve this by replacing the / into - but getting multiple new issues ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:
Deployment Error Details: InvalidTemplateDeployment: The template deployment 'ChatServiceWebApi' is not valid according to the validation procedure. The tracking id is '8446901e-49ad-4ef5-aaac-b271e76d1dbe'. See inner errors for details. ValidationForResourceFailed: Validation failed for a resource. Check 'Error.Details[0]' for more information. ContainerAppInvalidSecretName: Secret name has an invalid value 'kv-ycutmbn4mmj2c/openai-apikey'. A value must consist of lower case alphanumeric characters, '-', and must start and end with an alphanumeric character. The length must not be more than 253 characters.
TraceID: 5102be5ff0e98bc8c5f1a345e548c48c
2.The issue comes after resolving the first issue
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription: Deployment Error Details: InvalidTemplate: Deployment template validation failed: 'The template resource 'kv-73sevvsljywq4-openai-apikey' for type 'Microsoft.KeyVault/vaults/secrets' at line '1' and column '776' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-syntax-resources for usage details.'.
We are stuck here so please provide me solution Can you please help me out to resolve the template validation error by verifying the code once again