sparse-intern-71089
06/09/2021, 11:11 PMred-match-15116
06/09/2021, 11:26 PMfoobar.id
is a string, but nodebalancer_id
expects an int
as the input.
You’ll have to do something like:
foobar = linode.NodeBalancer("foobar",
label="mynodebalancer",
region="us-east",
client_conn_throttle=20)
foofig = linode.NodeBalancerConfig("foofig",
nodebalancer_id=foobar.id.apply(lambda x: int(x)),
port=8088,
protocol="http",
check="http",
check_path="/foo",
check_attempts=3,
check_timeout=30,
stickiness="http_cookie",
algorithm="source")
shy-architect-77550
06/09/2021, 11:30 PMshy-architect-77550
06/09/2021, 11:48 PMshy-architect-77550
06/10/2021, 12:08 AM