New resource to manage load balancer attachment for ECS services #23838
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
new-resource
Introduces a new resource.
service/ecs
Issues and PRs that pertain to the ecs service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Description
Now that the load balancers for an ECS service can be updated without destroying and re-creating the service (cf. #23596), it would be nice to have a separate resource to manage this association for a pre-existing ECS service, along the lines of
aws_lb_target_group_attachment
andaws_autoscaling_attachment
.New or Affected Resource(s)
Potential Terraform Configuration
The user should be able to specify either
target_group_arn
for an Application Load Balancer, orelb_name
for a Classic Load Balancer.If the ECS service is managed by other Terraform code, then its
aws_ecs_service
resource would need a lifecycle block to ignore changes toload_balancer
configuration.References
propagate_tags
enable_ecs_managed_tags
load_balancer
andservice_registries
without destroy & recreate #23600load_balancer
&service_registries
to update without destroy & recreate #23786The text was updated successfully, but these errors were encountered: