public EcsServiceDiscovery(ActorSystem system)
        {
            _config  = system.Settings.Config.GetConfig("akka.discovery.aws-api-ecs");
            _cluster = _config.GetString("cluster");
            var tags = _config.GetValue("tags").GetArray().Select(value => value.ToConfig()).ToList();

            foreach (var tagValue in tags)
            {
                _tags.Add(new Tag
                {
                    Key   = tagValue.GetString("key"),
                    Value = tagValue.GetString("value")
                });
            }
        }