This commit is contained in:
s444501 2023-01-19 16:07:46 +01:00
parent b9cba31b2f
commit 87b10cf670

View File

@ -51,7 +51,7 @@ instances = ec2.create_instances(
ImageId='ami-00874d747dde814fa', # Ubuntu ImageId='ami-00874d747dde814fa', # Ubuntu
MinCount=WORKERS, MinCount=WORKERS,
MaxCount=WORKERS, MaxCount=WORKERS,
InstanceType='t2.small', InstanceType='t2.micro',
UserData=cloud_init, UserData=cloud_init,
SecurityGroups=[security_group.group_name], SecurityGroups=[security_group.group_name],
TagSpecifications=[{ TagSpecifications=[{