update the executor template to use VPC instances.
This commit is contained in:
parent
3687419ab3
commit
db8493f254
1 changed files with 2 additions and 1 deletions
|
@ -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',
|
||||
|
|
Reference in a new issue