Open eladb opened 1 year ago
can confirm that the workaround worked for my case.
@skorfmann Do you think it makes sense to fix this upstream in CDKTF? Would you consider this a bug or is there some reason that makes it hard to fix?
Not really sure if these issues were related, but some of the lifting issues in the examples were fixed by some recent changes in Winglang https://github.com/winglang/examples/pull/18
Not really sure if these issues were related, but some of the lifting issues in the examples were fixed by some recent changes in Winglang winglang/examples#18
Wasn't related, still a thing.
@skorfmann Do you think it makes sense to fix this upstream in CDKTF? Would you consider this a bug or is there some reason that makes it hard to fix?
@eladb That was the token caching issue if I remember correctly?
Hi,
This issue hasn't seen activity in 60 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
Hi,
This issue hasn't seen activity in 90 days. Therefore, we are marking this issue as stale for now. It will be closed after 7 days. Feel free to re-open this issue when there's an update or relevant information to be added. Thanks!
I tried this:
This happened:
The environment variable captured is called
SOMETHING_TOKEN1
while the emitted javascript code isSOMETHING_TOKEN3
, which means this fails at runtime.I expected this:
To work seamlessly
Is there a workaround?
Yes, you could assign the token to a preflight variable like this, and then it works:
Component
Compiler, SDK
Wing Version
No response
Wing Console Version
No response
Node.js Version
No response
Platform(s)
No response
Anything else?
We are planning to make lifting lazy which I suspect will solve this issue as well, so maybe no need to hack on the CDKTF side.
Community Notes