copilot init

Create a new ECS or App Runner application

Options

NameDescription
--app, -a <app>Name of the application
--deployDeploy your service or job to a "test" environment
--dockerfile, -d <dockerfile>Path to the Dockerfile
--image, -i <image>The location of an existing Docker image
--name, -n <name>Name of the service or job
--port <port>The port on which your service listens
--retries <retries>Optional. The number of times to try restarting the job on a failure
--schedule <schedule>The schedule on which to run this job. Accepts cron expressions of the format (M H DoM M DoW) and schedule definition strings. For example: "0 * * * *", "@daily", "@weekly", "@every 1h30m". AWS Schedule Expressions of the form "rate(10 minutes)" or "cron(0 12 L * ? 2021)" are also accepted
--tag <tag>Optional. The container image tag
--timeout <timeout>Optional. The total execution time for the task, including retries. Accepts valid Go duration strings. For example: "2h", "1h30m", "900s"
--type, -t <type>Type of job or svc to create
--help, -hHelp for command