This message was deleted.
# aws
s
This message was deleted.
w
If you can share your code in it’s entirety, that may help. But, a couple of things that I notice. You shouldn’t have to use pulumi.all() in this case and go straight to
.apply()
such as follows:
cidr.apply(cidr => return new vpcConfig(vpc,{cidr})
The
.all
is really only needed if there are multiple values you need to resolve. import { baseTags, projectName, stackName, } from “./config”;
And if I’m reading your example correctly, in your class, you should be able to return just the vpc.id since the
new eks cluster()
only needs the ID, or reference
vpc.id
in the
new eks.cluster()
part which I think will lift the value so an apply is not needed.