diff --git a/buildman/manager/executor.py b/buildman/manager/executor.py index 786731992..806ff7845 100644 --- a/buildman/manager/executor.py +++ b/buildman/manager/executor.py @@ -120,7 +120,8 @@ class EC2Executor(BuilderExecutor): reservation = yield From(ec2_conn.run_instances( coreos_ami, instance_type=self.executor_config['EC2_INSTANCE_TYPE'], - security_groups=self.executor_config['EC2_SECURITY_GROUP_IDS'], + subnet_id=self.executor_config['EC2_VPC_SUBNET_ID'], + security_group_ids=self.executor_config['EC2_SECURITY_GROUP_IDS'], key_name=self.executor_config.get('EC2_KEY_NAME', None), user_data=user_data, instance_initiated_shutdown_behavior='terminate',