Skip to content

Commit

Permalink
docker image builder update
Browse files Browse the repository at this point in the history
  • Loading branch information
estohlmann committed Nov 25, 2024
1 parent f749de9 commit add0a61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lambda/dockerimagebuilder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def handler(event: Dict[str, Any], context) -> Dict[str, Any]: # type: ignore [
try:
instances = ec2_resource.create_instances(
ImageId=ami_id,
SubnetId=os.environ["LISA_SUBNET_ID"],
SubnetId=os.environ.get("LISA_SUBNET_ID", None),
MinCount=1,
MaxCount=1,
InstanceType="m5.large",
Expand Down

0 comments on commit add0a61

Please sign in to comment.