Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

updating resource ID for secret management in CA #40

updating resource ID for secret management in CA

updating resource ID for secret management in CA #40

Triggered via push December 13, 2024 10:08
Status Failure
Total duration 1m 56s
Artifacts

cms.yaml

on: push
Deploy infrastructure
1m 43s
Deploy infrastructure
Build and push Docker image to Azure Container Registry
0s
Build and push Docker image to Azure Container Registry
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Deploy infrastructure
ERROR: {"status":"Failed","error":{"code":"DeploymentFailed","target":"/subscriptions/***/providers/Microsoft.Resources/deployments/cms","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.Resources/deployments/deployCmsContainer","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"DeploymentFailed","target":"/subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.Resources/deployments/deployCmsContainer","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"ResourceDeploymentFailure","target":"/subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.App/containerApps/ca-cms-5y3z3ggvf6fpq","message":"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.","details":[{"code":"ContainerAppOperationError","message":"Failed to provision revision for container app 'ca-cms-5y3z3ggvf6fpq'. Error details: The following field(s) are either invalid or missing. Field 'configuration.secrets' is invalid with details: 'Invalid value: \"database-password\": Unable to get value using Managed identity /subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-cms-5y3z3ggvf6fpq for secret database-password. Error: managed Identity with resource Id /subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-cms-5y3z3ggvf6fpq was not found when trying to get secret database-password from Azure Key Vault'; Field 'configuration.secrets' is invalid with details: 'Invalid value: \"database-username\": Unable to get value using Managed identity /subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-cms-5y3z3ggvf6fpq for secret database-username. Error: managed Identity with resource Id /subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-cms-5y3z3ggvf6fpq was not found when trying to get secret database-username from Azure Key Vault'; Field 'configuration.secrets' is invalid with details: 'Invalid value: \"transfer-token-salt\": Unable to get value using Managed identity /subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-cms-5y3z3ggvf6fpq for secret transfer-token-salt. Error: managed Identity with resource Id /subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-cms-5y3z3ggvf6fpq was not found when trying to get secret transfer-token-salt from Azure Key Vault'; Field 'configuration.secrets' is invalid with details: 'Invalid value: \"app-keys\": Unable to get value using Managed identity /subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-cms-5y3z3ggvf6fpq for secret app-keys. Error: managed Identity with resource Id /subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-cms-5y3z3ggvf6fpq was not found when trying to get secret app-keys from Azure Key Vault'; Field 'configuration.secrets' is invalid with details: 'Invalid value: \"api-token-salt\": Unable to get value using Managed identity /subscriptions/***/resourceGroups/rg-strapi-playground-production/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id-cms-5y3z3ggvf6fpq for secre
Deploy infrastructure
Error: Deployment failed.
Deploy infrastructure
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636