diff --git a/awscli/customizations/emr/createcluster.py b/awscli/customizations/emr/createcluster.py index c970d581f771..1ef851ecc554 100644 --- a/awscli/customizations/emr/createcluster.py +++ b/awscli/customizations/emr/createcluster.py @@ -844,7 +844,7 @@ def _filter_configurations_in_special_cases( 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_configuration = emrfsutils.build_emrfs_configuration( emrfs_args ) diff --git a/awscli/customizations/emr/emrfsutils.py b/awscli/customizations/emr/emrfsutils.py index e3f58e78fdcd..e3c64e2cc0b6 100644 --- a/awscli/customizations/emr/emrfsutils.py +++ b/awscli/customizations/emr/emrfsutils.py @@ -62,7 +62,7 @@ def build_bootstrap_action_configs(region, emrfs_args): return bootstrap_actions -def build_emrfs_confiuration(emrfs_args): +def build_emrfs_configuration(emrfs_args): _verify_emrfs_args(emrfs_args) emrfs_properties = _build_emrfs_properties(emrfs_args) @@ -79,6 +79,10 @@ def build_emrfs_confiuration(emrfs_args): return emrfs_configuration +# Backwards compatibility alias for the typo in the original function name +build_emrfs_confiuration = build_emrfs_configuration + + def _verify_emrfs_args(emrfs_args): # Encryption should have a valid value if (