Switching default profile breaks deployment
Open
- 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
Assessment
This issue has not been assessed yet.