Interesting thing I ran into, if there is somethin...
# sst
k
Interesting thing I ran into, if there is something missing in the CDK context the app builds 2 times
Copy code
Some context information is missing. Fetching...
@Frank this increases the Seed build seconds especially when you build UI also, is there a way to fetch the context before you build the first time or not build the second time ?
^ to reproduce just don’t include
Copy code
cdk.context.json
in your repo
a
You must include it.
I didn’t include this file before, and it does the lookup all the time.
So I’ve talked to Frank and he told me to include the file in GIT.
k
Ok got it 👍
f
Yeah, if you are looking up something and the value is not cached in
cdk.context.json
, CDK will make an aws sdk call, then rebuild the entire app.
The context file should be commited.