lb2
This commit is contained in:
parent
6f3fa21a8e
commit
d6e036dea9
2
lb2.py
2
lb2.py
@ -167,7 +167,7 @@ def create_launch_template(ec2_client, key_name, security_group_id):
|
|||||||
LaunchTemplateData={
|
LaunchTemplateData={
|
||||||
'ImageId': AMI_ID,
|
'ImageId': AMI_ID,
|
||||||
'InstanceType': INSTANCE_TYPE,
|
'InstanceType': INSTANCE_TYPE,
|
||||||
'SecurityGroupsIds': [security_group_id],
|
'SecurityGroupIds': [security_group_id],
|
||||||
'KeyName': key_name,
|
'KeyName': key_name,
|
||||||
'UserData': user_data
|
'UserData': user_data
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user