Updated CDK to v0.138.0 <@U01JB1UGDV4>
# general
f
Updated CDK to v0.138.0 @Ross Coundon
s
Woot!!
r
Fantastic, thanks @Frank (and all the other contributors)
l
Anyone else had cross-stack issues with the ExportsOutputRef after the recent change to gatewayAuth constructs? I'm creating Auth and Api definitions in base stack and referencing it further down the road in sub-stacks. After fixing HttpsUserPoolAuth according to the new schema I'm running into Export deletion issue:
Copy code
Error: Export lktest-altera-stack-Altera:ExportsOutputRefGlobalApiUserPoolAuthorizer0FC6637617CEFDF2 cannot be deleted as it is in use by lktest-altera-stack-Avatars, lktest-altera-stack-Company and lktest-altera-stack-Cost (and 4 more)
Guess I could switch the deletion rules to
RETAIN
but that's gonna bring whole lotta mess to the env as I continue working... Any other ideas? Traced a conv regarding this here: https://serverless-stack.slack.com/archives/C01JG3B20RY/p1631722045134100 But this still seems like an enhancement waiting to be analyzed and implemented? @Frank @thdxr? 😅
@thdxr Looking at the above thread you were on to something. Have you perhaps found any 'right' workaround for the exportRef elements that are already nonexistent in code due to stack definition changes? Like maybe artificially retaining it for the first deployment after change 🙃
f
@Lukasz K were you able to get around the issue?
Yeah, we are planning to add early detection of this export in use issue and temporarily add the export value.
l
@Frank Yup. I moved with the question to #help and later on we chatted about this so you can ignore this one 🙂