https://pulumi.com logo
Title
m

microscopic-agent-70604

12/17/2020, 12:46 PM
Hello. I have var []pulumi.Resource and var *v1.ServiceAccount. I appended SA to pulumi resource and used it as a dependency (pulumi.DependsOn). After update of pulumi-kubernetes from 2.7.1 to 2.7.2 I get this error error: program failed: cannot marshal an input of type *v1.ServiceAccount with element type v1.ServiceAccount as a value of type pulumi.Resource. Can somebody explain, why it happens and what to do? I tried to look through the changelog and found nothing.
l

lemon-agent-27707

12/17/2020, 8:44 PM
I believe you are running into this issue which has been fixed in the latest release: https://github.com/pulumi/pulumi-kubernetes/issues/1397
m

microscopic-agent-70604

12/18/2020, 5:03 PM
@lemon-agent-27707 Thank you. It seems so. I tried to google but found nothing. And you're right. After some update the issue has gone.
­čśŤartypus-8bit: 1