diff --git a/lb2.py b/lb2.py index bf7d7e7..52a5ffd 100644 --- a/lb2.py +++ b/lb2.py @@ -167,7 +167,7 @@ def create_launch_template(ec2_client, key_name, security_group_id): LaunchTemplateData={ 'ImageId': AMI_ID, 'InstanceType': INSTANCE_TYPE, - 'SecurityGroupsIds': [security_group_id], + 'SecurityGroupIds': [security_group_id], 'KeyName': key_name, 'UserData': user_data }