{% macro create_snowflake_user(user_name, user_password) %}
  {% set sql %}
    CREATE USER IF NOT EXISTS {{ user_name }} PASSWORD = '{{ user_password }}' MUST_CHANGE_PASSWORD = FALSE;
  {% endset %}

  {% do run_query(sql) %}
  {% do log("User '" ~ user_name ~ "' created successfully", info=true) %}
{% endmacro %}
