I'm creating the Service inside an `apply` block, ...
# general
h
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"), {
....
})})