aliyun / terraform-provider-alicloud

Terraform AliCloud provider
https://www.terraform.io/docs/providers/alicloud/
Mozilla Public License 2.0
582 stars 548 forks source link

Attaching servers to an existing ALB server group #7137

Open ori-nat opened 4 months ago

ori-nat commented 4 months ago

Hi,

I'm looking for a way to attach ECS instances to an existing ALB server group using the AliCloud provider. Unless I'm missing something, it seems that server attachment is possible only when creating a new ALB server group using the servers block in the alicloud_alb_server_group resource, but there's no obvious way to form an attachment with an existing server group.

Interestingly enough, this is easily achievable for Classic Load Balancers (aka SLB), but not for Application Load Balancers which are supposedly more modern.

Any ideas?

xiaozhu36 commented 4 months ago

Hi @ori-nat I am sorry for late reply. Currently, there is missing a resource alicloud_alb_server_group_attachment, and we will support it asap, and let you know after releasing it. Please be patient.