most-lighter-173112/02/2019, 10:48 AM
. I'm currently getting a runtime error because it seems pulumi is trying to execute the task during preview inspite of the fact that the call to
is inside a pulumi
call. How can I make sure this code is executed during deployment and not before ? The relevant error is
and the origin of this is on
error: Running program '/home/luis/Code/outmind/outmind-app/aws-architecture/src/index.ts' failed with an unhandled exception: Error: Cannot call '.get' during update or preview. To manipulate the value of this Output, use '.apply' instead.
where the code is getting the cluster id.