https://pulumi.com logo
#general
Title
# general
g

gray-city-50684

10/04/2018, 5:36 PM
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

creamy-potato-29402

10/04/2018, 5:44 PM
@gray-city-50684 You need something like a
pulumi.outputs(...).apply
here.
g

gray-city-50684

10/04/2018, 5:45 PM
so just like with the string on the top?
c

creamy-potato-29402

10/04/2018, 5:45 PM
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

gray-city-50684

10/04/2018, 5:46 PM
OK
could you tell me in this example:
No 3
c

creamy-potato-29402

10/04/2018, 5:47 PM
telly ou what, now?
g

gray-city-50684

10/04/2018, 5:48 PM
why does the line “const pod = args.spec.template.spec;” work ?
c

creamy-potato-29402

10/04/2018, 5:48 PM
it looks like it doesn’t. 🙂
g

gray-city-50684

10/04/2018, 5:48 PM
oh, ok
c

creamy-potato-29402

10/04/2018, 5:48 PM
sorry
g

gray-city-50684

10/04/2018, 5:48 PM
sorry to bother then
c

creamy-potato-29402

10/04/2018, 5:48 PM
not your fault.