lb2
This commit is contained in:
parent
012a2a11fd
commit
592324d7cd
3
lb2.py
3
lb2.py
@ -235,7 +235,8 @@ def create_ec2_instances(ec2_client, launch_template_id, subnet_id):
|
||||
# Create EC2 instances
|
||||
response = ec2_client.run_instances(
|
||||
LaunchTemplate={
|
||||
'LaunchTemplateId': launch_template_id
|
||||
'LaunchTemplateId': launch_template_id,
|
||||
'Version': '$Latest'
|
||||
},
|
||||
MinCount=2,
|
||||
MaxCount=2,
|
||||
|
Loading…
Reference in New Issue
Block a user