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

hundreds-musician-51496

10/25/2018, 5:05 PM
I'm creating the Service inside an
apply
block, which uses the loadBalancer & target group as input:
Copy code
pulumi.all([loadBalancer, cluster.securityGroupId, lbTargetGroup]).apply(([loadBalancer, securityGroupId, lbTargetGroup]) => {
  return new aws.ecs.Service(createNameWithStackInfo("dashboard-server"), {
....
})})