Unable to update a stack that has exports
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
## :question: General Issue
For example, in stack 1 we have dynamodb. in stack 2 we have a bunch of lambda's that reference that dynamodb (arn in policy, tableName in env params).
A good user experience would be that when i change something with the dynamodb (for example, remove a range key), i would be able to deploy. But what happens, is that it complains that the export cant be updated because stack2 is dependent on it.
So what i need to do is first comment out all dynamodb references in stack 2, deploy that with -e, then deploy stack 1, then uncomment all dynamodb references in stack 2 and deploy stack 2.
### The Question
Can we eliminate those manual steps, let cdk handle the references in later stacks itself behind the scenes and just let me know when its all done.
Contributor guide
Research direction
The issue names no files, tests, or entry points. Start by reproducing the two-stack DynamoDB export update and trace how dependent exports are handled during deployment; done means changing the exported resource without manually commenting out references in the later stack.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100