def _handle_emrfs_parameters(self, cluster, emrfs_args, release_label): if release_label: self.validate_no_emrfs_configuration(cluster) emrfs_configuration = emrfsutils.build_emrfs_confiuration( emrfs_args) self._update_cluster_dict( cluster=cluster, key='Configurations', value=[emrfs_configuration]) else: emrfs_ba_config_list = emrfsutils.build_bootstrap_action_configs( self.region, emrfs_args) self._update_cluster_dict( cluster=cluster, key='BootstrapActions', value=emrfs_ba_config_list)
def _handle_emrfs_parameters(self, cluster, emrfs_args, release_label): if release_label: self.validate_no_emrfs_configuration(cluster) emrfs_configuration = emrfsutils.build_emrfs_confiuration( emrfs_args) self._update_cluster_dict( cluster=cluster, key='Configurations', value=[emrfs_configuration]) else: emrfs_ba_config_list = emrfsutils.build_bootstrap_action_configs( self.region, emrfs_args) self._update_cluster_dict( cluster=cluster, key='BootstrapActions', value=emrfs_ba_config_list)