sparse-intern-71089
03/09/2020, 8:00 PMtall-librarian-49374
03/09/2020, 8:03 PMOutput
may only resolve after the deployment is done. You usually want to use apply
to manipulate the value.tall-librarian-49374
03/09/2020, 8:03 PMbillions-scientist-31826
03/09/2020, 8:06 PMconst caClusterName = "<http://k8s.io/cluster-autoscaler/|k8s.io/cluster-autoscaler/>" + clusterObj.eksCluster.name.apply(n => n);
...
autoScalingGroupTags: {
"<http://k8s.io/cluster-autoscaler/enabled|k8s.io/cluster-autoscaler/enabled>": "true",
[ caClusterName ] : "true"
},``
billions-scientist-31826
03/09/2020, 8:09 PMboundless-airport-99052
03/10/2020, 8:34 AMautoScalingGroupTags: clusterObj.eksCluster.name.apply(clusterName => ({
"<http://k8s.io/cluster-autoscaler/enabled|k8s.io/cluster-autoscaler/enabled>": "true",
[ "<http://k8s.io/cluster-autoscaler/|k8s.io/cluster-autoscaler/>" + clusterName ] : "true"
}),