When an artifact is provided in serverless.yaml for a Rust function, skip building that function and use the provided artifact instead.
This should not cause the error for no Rust functions found to trigger, even if all Rust functions are skipped this way.
This is required to support CI/CD pipeline patterns where artifacts are built in one step, then verified, and then the verified artifact is deployed without recompiling which could introduce variance.
Nice To Have:
It would also be nice if the "no Rust functions" error could be suppressed, and if Rust functions could be discovered in a way that doesn't cause schema warnings.
💡 Feature description
When an artifact is provided in
serverless.yaml
for a Rust function, skip building that function and use the provided artifact instead.This should not cause the error for
no Rust functions found
to trigger, even if all Rust functions are skipped this way.This is required to support CI/CD pipeline patterns where artifacts are built in one step, then verified, and then the verified artifact is deployed without recompiling which could introduce variance.
Nice To Have:
It would also be nice if the "no Rust functions" error could be suppressed, and if Rust functions could be discovered in a way that doesn't cause schema warnings.
💻 Basic example
For the following
serverless.yaml
:This allows a build-and-deploy workflow:
Or an artifact workflow: