diff --git a/ec2.py b/ec2.py index be6d080..27768a4 100644 --- a/ec2.py +++ b/ec2.py @@ -219,6 +219,7 @@ def run_instance(ec2_client, launch_template_id, subnet_id): if public_ip: print(f"Public IP: {public_ip}") + create_js_scripts(public_ip) if public_dns: print(f"Public DNS: {public_dns}")