I am trying to get this ASG started but this does ...
# aws
b
I am trying to get this ASG started but this does not wait for all instances to be healthy . It just creates ASG and chucks out . Any idea how to make it wait until all instances are healthy ?
Copy code
talos_control_plane_asg = aws.autoscaling.Group(
    f"{project}-{stack}-talos-control-plane-asg",
    name=f"{project}-{stack}-talos-control-plane-asg",
    capacity_rebalance=True,
    desired_capacity=3,
    max_size=3,
    min_size=1,
    vpc_zone_identifiers=private_subnet_ids,
    launch_configuration=control_plane_launch_configuration.name,
    wait_for_capacity_timeout="300s",
    opts=pulumi.ResourceOptions(depends_on=[control_plane_launch_configuration]),
    health_check_grace_period=300,
    tags=[aws.autoscaling.GroupTagArgs(
        key="Name",
        propagate_at_launch=True,
        value="control-plane"
    )]
)
That
wait_for_capacity_timeuot="300s"
doesn’t help either . It just shows
created(17s)
but ideally it should wait until all the instances in the ASG are ready ?