vswitch_id - (Deprecated) It has been deprecated from version 1.7.1 and new field 'vswitch_ids' replaces it.

vswitch_ids - (ForceNew) List of virtual switch IDs in which the ecs instances to be launched.

removal_policies - (Optional) RemovalPolicy is used to select the ECS instances you want to remove from the scaling group when multiple candidates for removal exist. Optional values:

OldestInstance: removes the first ECS instance attached to the scaling group.

NewestInstance: removes the first ECS instance attached to the scaling group.

OldestScalingConfiguration: removes the ECS instance with the oldest scaling configuration.

Default values: OldestScalingConfiguration and OldestInstance. You can enter up to two removal policies.

db_instance_ids - (ForceNew) If an RDS instance is specified in the scaling group, the scaling group automatically attaches the Intranet IP addresses of its ECS instances to the RDS access whitelist.

The specified RDS instance must be in running status.

The specified RDS instance’s whitelist must have room for more IP addresses.

loadbalancer_ids - (ForceNew) If a Server Load Balancer instance is specified in the scaling group, the scaling group automatically attaches its ECS instances to the Server Load Balancer instance.

The Server Load Balancer instance must be enabled.

At least one listener must be configured for each Server Load Balancer and it HealthCheck must be on. Otherwise, creation will fail (it may be useful to add a depends_on argument
targeting your alicloud_slb_listener in order to make sure the listener with its HealthCheck configuration is ready before creating your scaling group).