Build Code Engine project configurations with applications, jobs, secrets, and event subscriptions.
Last verified: May 2026
Build Code Engine project configurations with applications, jobs, secrets, and event subscriptions for serverless workloads.
Required Fields
projectNameregionOutput will appear here...IBM Cloud Code Engine is the platform's serverless compute offering — run containers, source code, or batch jobs without managing a Kubernetes cluster. The Code Engine Config Builder generates project, application, job, secret, and event subscription specs. Output is Terraform-ready and structured so a Code Engine project's components live in one declarative file.
A nightly data-import process has been running on a t2.medium Droplet that's idle 23 hours a day — $20/month for an hour of actual work. You migrate it to a Code Engine job triggered nightly. The new cost is under $1/month and the Droplet gets decommissioned. The team adopts Code Engine for similar batch workloads, dropping a layer of infrastructure to maintain.
Set min-scale to 1 for latency-sensitive HTTP apps to avoid cold starts; leave it at 0 for tolerant workloads to get the full pay-per-use benefit. The trade-off is concrete: 1 instance always-on costs roughly $5-15/month, vs. potentially $0 with cold-start latency under load.
Use secrets and config maps instead of environment variables for anything sensitive. Code Engine treats secrets specially in logs and the dashboard, while env vars can show up in CLI output and incident reports.
The builder collects project name, region, and a list of components (apps, jobs, secrets, event subscriptions). For each app/job it captures the image, run command, min/max scale, resource limits, environment variables, and triggers. Output is `ibm_code_engine_project` and component-specific Terraform resources (`ibm_code_engine_app`, `ibm_code_engine_job`, `ibm_code_engine_secret`).
Was this tool helpful?
Disclaimer: This tool runs entirely in your browser. No data is sent to our servers. Always verify outputs before using them in production. AWS, Azure, and GCP are trademarks of their respective owners.