Skip to main content

A Snowflake object transcription library for capturing Snowflake objects

Project description

snowmad

A user/role management transcription library for capturing Snowflake roles and user permissions in terraform format

Purpose

  • Transcribe snowflake users, roles, and role grants to terraform format
  • Currently terraform can import state, but cannot generate a config file from the imported state
  • To be used with snowflake provider (snowflake-labs/snowflake)

Dependencies

  • pandas
  • snowflake.connector
  • configparser
  • cryptography
  • snowflake connector (with pandas addon)

Outputs

  • roles text file
    • contains snowflake roles in terraform "snowflake_role" resource format
  • users text file
    • contains snowflake users in terraform "snowflake_user" resource format
  • grants text file
    • contains snowflake grants for roles in terraform "snowflake_role_grants" resource format

Instructions

  • todo

Examples

  • todo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snowmad-0.0.2.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

snowmad-0.0.2-py3-none-any.whl (8.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page