-
Notifications
You must be signed in to change notification settings - Fork 431
svc package command
David Killmon edited this page Jun 25, 2020
·
5 revisions
$ copilot svc package
copilot svc package
produces the CloudFormation template(s) used to deploy a service to an environment.
Print the CloudFormation template for the "frontend" service parametrized for the "test" environment.
$ copilot svc package -n frontend -e test
Write the CloudFormation stack and configuration to a "infrastructure/" sub-directory instead of printing.
Write the CloudFormation stack and configuration to a "infrastructure/" sub-directory instead of printing.
$ copilot svc package -n frontend -e test --output-dir ./infrastructure
$ ls ./infrastructure
frontend.stack.yml frontend-test.config.yml
-e, --env string Name of the environment.
-h, --help help for package
-n, --name string Name of the service.
--output-dir string Optional. Writes the stack template and template configuration to a directory.
--tag string Optional. The service's image tag.