Skip to content

Commit

Permalink
f: depends
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjjung committed Dec 16, 2024
1 parent 8608e7d commit 081d9b1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tb_pulumi/rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,9 @@ def __init__(
port = SERVICE_PORTS.get(engine, 5432)
inst_addrs = [instance.address for instance in instances]
load_balancer_ips = pulumi.Output.all(*inst_addrs).apply(
lambda addresses: [socket.gethostbyname(addr) for addr in addresses]
lambda addresses: ','.join([socket.gethostbyname(addr) for addr in addresses])
)
pulumi.info(f'LOAD BALANCER IPS: {load_balancer_ips}')
load_balancer = tb_pulumi.ec2.NetworkLoadBalancer(
f'{name}-nlb',
project=project,
Expand Down

0 comments on commit 081d9b1

Please sign in to comment.