The code given for outputs produces the whole object not just the IP and bucket dns.
Replacement code used for outputs includes the appropriate object property:
output "eip" {
#value = aws_eip.lb
value = aws_eip.lb.public_ip
}
output "mys3bucket" {
value = aws_s3_bucket.mys3.bucket_domain_name
}