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

late-printer-99022

01/13/2020, 9:32 AM
quite frustrated with following problem this is not working
Copy code
--cluster-name=${synPlatformCluster.eksCluster.name}`
this is also not working.
Copy code
--cluster-name=${synPlatformCluster.eksCluster.name.apply((v) => `${v}`)}`
getting following notice.
Copy code
containers                   : [
                        [0]: {
                            args                  : [
                                [0]: "--ingress-class=alb"
                                [1]: "--cluster-name=Calling [toString] on an [Output<T>] is not supported.\n\nTo get the value of an Output<T> as an Output<string> consider either:\n1: o.apply(v => `prefix${v}suffix`)\n2: pulumi.interpolate `prefix${v}suffix`\n\nSee <https://pulumi.io/help/outputs> for more details.\nThis function may throw in a future version of @pulumi/pulumi."
                            ]
                            image                 : "<http://894847497797.dkr.ecr.us-west-2.amazonaws.com/aws-alb-ingress-controller:v1.0.0|894847497797.dkr.ecr.us-west-2.amazonaws.com/aws-alb-ingress-controller:v1.0.0>"
                            imagePullPolicy       : "Always"
                            name                  : "server"
                            terminationMessagePath: "/dev/termination-log"
                        }
                    ]
                    dnsPolicy                    : "ClusterFirst"
                    restartPolicy                : "Always"
                    serviceAccount               : "alb-ingress"
                    serviceAccountName           : "alb-ingress"
                    terminationGracePeriodSeconds: 30
                }
            }