My IDE complains on the last line, that “push” doe...
# general
g
My IDE complains on the last line, that “push” doesn’t exist on the “Input<EnvVar>” type. Can I safely ignore this error message, or is there a way to write this code without error there?
c
@gray-city-50684 You need something like a
pulumi.outputs(...).apply
here.
g
so just like with the string on the top?
c
A
pulumi.Input
or
pulumi.Output
semantically means “a value that you might have to wait for to be ready”
Yes. something like
pulumi.all([kubernetesMasterServerFqdn, container.env]).apply
would also work.
g
OK
could you tell me in this example:
No 3
c
telly ou what, now?
g
why does the line “const pod = args.spec.template.spec;” work ?
c
it looks like it doesn’t. 🙂
g
oh, ok
c
sorry
g
sorry to bother then
c
not your fault.