@ -209,7 +209,7 @@ def run_instance(ec2_client, launch_template_id, subnet_id):
public_dns = instance_info['Reservations'][0]['Instances'][0].get('PublicDnsName')
if public_ip:
return public_ip
print(f"Public IP: {public_ip}")
if public_dns:
print(f"Public DNS: {public_dns}")
The note is not visible to the blocked user.