self.service = aws.ecs.Service(f’{name}-app-svc’, ...
# general
g
self.service = aws.ecs.Service(f’{name}-app-svc’, cluster=self.cluster.arn, desired_count=2, launch_type=‘FARGATE’, task_definition=self.task_definition.arn, iam_role=role.arn, network_configuration=aws.ecs.ServiceNetworkConfigurationArgs( assign_public_ip=True, subnets=args.subnet_ids, security_groups=args.security_group_ids ), load_balancers=[aws.ecs.ServiceLoadBalancerArgs( target_group_arn=atg.arn, container_name=container_name, container_port=8086, )], opts=ResourceOptions( depends_on=[wl], parent=self), ) self.register_outputs({})
b
hi there, unfortunately there's not enough info to help here....