aws / aws/chalice

How to specify `stage` when using `chalice package`?

Open
#1,807 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
11.1k
Forks
1k
Avg merge
1d 22h
Merged PRs (30d)
2

Description

My goal is to deploy the `chalice` app via a CD pipeline, which I can't do with `chalice deploy` as referenced in [Issue #1570](https://github.com/aws/chalice/issues/1570). As an alternative I am trying to deploy the app via CloudFormation by using the `chalice package` command.

Following the instructions here [https://chalice-workshop.readthedocs.io/en/latest/todo-app/part2/01-package-cmd.html#initial-setup](https://chalice-workshop.readthedocs.io/en/latest/todo-app/part2/01-package-cmd.html#initial-setup), I can create the CloudFormation templates but there's no option to specify which `stage` to deploy. Is there a flag I'm missing?

Contributor guide

Open the contributing guide

Research direction

Start with the `chalice package` command and the linked Chalice workshop packaging instructions, then review the deployment constraint described in Issue #1570. Determine how a requested stage should be selected for the generated CloudFormation templates and verify the result for a CD-pipeline deployment.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cli, cloud, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.