This commit is contained in:
dzikafoczka 2024-12-20 22:01:42 +01:00
parent 7e35161c5b
commit 021c242142
2 changed files with 3 additions and 1 deletions

1
lb2.py
View File

@ -320,6 +320,7 @@ def main():
# Create EC2 instances # Create EC2 instances
print("Creating EC2 instances...") print("Creating EC2 instances...")
instance_ids = create_ec2_instances(ec2_client, launch_template_id, subnet_id_1) instance_ids = create_ec2_instances(ec2_client, launch_template_id, subnet_id_1)
wait_for_instances_to_run(ec2_client, instance_ids)
# Create Load Balancer Listener # Create Load Balancer Listener
print("Creating Load Balancer Listener...") print("Creating Load Balancer Listener...")

View File

@ -1,3 +1,4 @@
boto3 boto3
python-dotenv python-dotenv
paramiko paramiko
requests