Which, on the "Deploy Azure Container App" step, yields the following error with exit code 1:
ERROR: (ManagedEnvironmentNotFound) Environment /subscriptions/MY_SUBSCRIPTION_ID/resourceGroups/MY_RESOURCE_GROUP/providers/Microsoft.App/managedEnvironments/MY_ENVIRONMENT_NAME was not found.
With the following command, we can get the managedEnvironmentId(for the gh-azure-config.yaml) from the id key:
az containerapp env show --name MY_ENVIRONMENT_NAME --resource-group MY_RESOURCE_GROUP
We plug in the id value into managedEnvironmentId in the gh-azure-config.yaml file, but we get this error. The service account we are using has contributor access to the environment and we've validated it can see the environment with this command. We're unsure how to proceed from here and are wondering if this may be a bug. Thank you
We are trying to run a Github Action that deploys a Container App. The steps are as follows:
Which, on the "Deploy Azure Container App" step, yields the following error with exit code 1:
With the following command, we can get the
managedEnvironmentId
(for the gh-azure-config.yaml) from theid
key:We plug in the
id
value intomanagedEnvironmentId
in the gh-azure-config.yaml file, but we get this error. The service account we are using has contributor access to the environment and we've validated it can see the environment with this command. We're unsure how to proceed from here and are wondering if this may be a bug. Thank you