Due to certain issues with BucketDeployment CDK construct, I had to use prune. But this causes accumulation of assets from older deploys which is undesirable.
One way to solve this is to switch synchronization of s3 assets to be done via SDK or CLI instead of CDK (also the easiest solution). I will need to see if there are any other possible solutions that can help stay within the realm of CDK.
Due to certain issues with
BucketDeploymentCDK construct, I had to use prune. But this causes accumulation of assets from older deploys which is undesirable.One way to solve this is to switch synchronization of s3 assets to be done via SDK or CLI instead of CDK (also the easiest solution). I will need to see if there are any other possible solutions that can help stay within the realm of CDK.