def pre_terraform_destroy(self): compute_env = RuleEngineBatchJobEnv.get_input_attr( 'compute_environment_name') job_definition = self.get_input_attr('name') utils.remove_batch_job_related_resources(compute_env, job_definition)
class BatchJobsQueue(BatchJobQueueResource): name = "data" state = "ENABLED" priority = 6 compute_environments = [RuleEngineBatchJobEnv.get_output_attr('arn')]
class BatchJobsQueue(BatchJobQueueResource): name = "data" state = Settings.get('JOB_QUEUE_STATUS', "ENABLED") priority = 6 compute_environments = [RuleEngineBatchJobEnv.get_output_attr('arn')]