document-understanding-solution
document-understanding-solution copied to clipboard
cdk always redeploying full stack instead of update
The cdk stack seems to be initiated with a different uuid everytime it gets compiled. This causes the resources to be completely different and thus cause full deployment instead of incremental.
this.resourceName = (name: any) =>
`${id}-${name}-${this.uuid}`.toLowerCase();
this.uuid = uuid.generate();
Possible Fix: Provide a custom/rand but fixed suffix for the resource names