def _create_environment_var_name(reference_name, suffix=None):
    """
    Creates the environment variable name using
    the reference name and suffix.
    """
    reference_name = reference_name.replace('-', '_')
    if suffix:
        return '{}_{}'.format(reference_name, suffix).upper()
    else:
        return reference_name.upper()