aws / aws/chalice

Switching default profile breaks deployment

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

Description

In multiple AWS account scenario, when we change the default profile environment variable `AWS_DEFAULT_PROFILE`, it breaks the deployment. It is because, `deployed.json` doesn't have profile attributes.

The existing structure of `deployed.json` can be changed to contain profile name attribute, like below:
```
{
"default": {
"dev": {
"api_handler_name": "",
"api_handler_arn": "",
...
},
"profile1": {
"dev": {
"api_handler_name": "",
"api_handler_arn": "",
...
}
}
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.