File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
snakemake_executor_plugin_aws_batch Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ class ExecutorSettings(ExecutorSettingsBase):
3939 "required" : True ,
4040 },
4141 )
42- execution_role : Optional [str ] = field (
42+ job_role : Optional [str ] = field (
4343 default = None ,
4444 metadata = {
45- "help" : "The AWS execution role ARN that is used for running the tasks" ,
45+ "help" : "The AWS job role ARN that is used for running the tasks" ,
4646 "env_var" : True ,
4747 "required" : True ,
4848 },
Original file line number Diff line number Diff line change @@ -13,9 +13,9 @@ def get_executor(self) -> str:
1313
1414 def get_executor_settings (self ) -> Optional [ExecutorSettingsBase ]:
1515 return ExecutorSettings (
16- region = os .environ .get ("SNAKEMAKE_AWS_BATCH_REGION" , "us-east-1 " ),
16+ region = os .environ .get ("SNAKEMAKE_AWS_BATCH_REGION" , "us-west-2 " ),
1717 job_queue = os .environ .get ("SNAKEMAKE_AWS_BATCH_JOB_QUEUE" ),
18- execution_role = os .environ .get ("SNAKEMAKE_AWS_BATCH_EXECUTION_ROLE " ),
18+ job_role = os .environ .get ("SNAKEMAKE_AWS_BATCH_JOB_ROLE " ),
1919 )
2020
2121 def get_assume_shared_fs (self ) -> bool :
You can’t perform that action at this time.
0 commit comments