Checking resource availability earlier in the deployment process
ยท 2 min read
warning
This is a legacy platform changelog. The information reflected here may not represent current functionality and some links may be broken.
Prior to Meroxa CLI v2.3.0 with Turbine, you may have observed that the deployment process got pretty far before it noticed that there was an issue with a resource used in the Data Application.
$ meroxa apps deploy
Checking for uncommitted changes...
โ No uncommitted changes!
Validating branch...
โ Deployment allowed from master branch!
Preparing application "liveapp" (language) for deployment...
โ Application built!
โ Application processes found. Creating application image...
โ Platform source fetched!
โ Source uploaded!
โ Process image built!
x Deployment failed
Error: pipeline: "turbine-pipeline-liveapp" ("UUID")
Error running app : API error : Request failed with status code 404 : could not find resource
With v2.3.0 and newer of the Meroxa CLI with Turbine, we check for the availability of a resource earlier in the deployment process (before building the Process image) and provide more specific messaging and guidance around a misconfigured resource.
$ meroxa apps deploy
Checking for uncommitted changes...
โ No uncommitted changes!
Validating branch...
โ Deployment allowed from master branch!
Preparing application "liveapp" (language) for deployment...
โ Application built!
x Resource availability check failed
Error: could not find resource "my-resource-with-a-typo";
โ ๏ธ Run 'meroxa resources list' to verify that the resource names defined in your Turbine app are identical to the resources you have created on the Meroxa Platform before deploying again