Skip to content

Instantly share code, notes, and snippets.

View Sanel0101's full-sized avatar

Sanel R Sanel0101

  • noone
  • zirich
View GitHub Profile
@Sanel0101
Sanel0101 / License Sanel
Last active October 16, 2025 21:13
My own World
Copyright (c) 2025 Sanel Sabani
All rights reserved.
This work, and any and all contributions, participation, code, documentation, artwork, or other materials by SaaSCh, are licensed under a proprietary license.
No part of this work may be used, copied, reproduced, modified, merged, published, distributed, sublicensed, or sold in any form or by any means, in whole or in part, without the prior explicit written permission of the copyright holder and payment of the required license fee.
To seek permission or inquire about licensing terms and fees, contact:
resource "aws_ecs_service" "demo_app_service" {
name = "nina-service"
cluster = aws_ecs_cluster.this.id
task_definition = aws_ecs_task_definition.this.arn
launch_type = "FARGATE"
desired_count = 1 # só precisamos de 1, mas em caso de 3, em caso de queda de alguma tarefa, outra ainda estará executando
# cadastro no target group do load balancer
load_balancer {
target_group_arn = aws_lb_target_group.this.arn