{"id":18037447,"url":"https://github.com/snowflake-labs/terraform-provider-snowflake","last_synced_at":"2025-03-22T08:02:03.358Z","repository":{"id":37046051,"uuid":"165926555","full_name":"Snowflake-Labs/terraform-provider-snowflake","owner":"Snowflake-Labs","description":"Terraform provider for managing Snowflake accounts","archived":false,"fork":false,"pushed_at":"2025-03-14T16:30:24.000Z","size":50379,"stargazers_count":592,"open_issues_count":224,"forks_count":431,"subscribers_count":37,"default_branch":"main","last_synced_at":"2025-03-14T20:50:15.545Z","etag":null,"topics":["snowflake","terraform"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Snowflake-Labs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-15T21:29:36.000Z","updated_at":"2025-03-14T14:40:12.000Z","dependencies_parsed_at":"2023-12-21T15:44:01.114Z","dependency_job_id":"dcde1b2b-b719-4f98-92d6-3002a5822b1e","html_url":"https://github.com/Snowflake-Labs/terraform-provider-snowflake","commit_stats":{"total_commits":1596,"total_committers":205,"mean_commits":7.785365853658536,"dds":0.868421052631579,"last_synced_commit":"61ee1bd967893805eaab8a3f4e9b56dc69da0110"},"previous_names":["chanzuckerberg/terraform-provider-snowflake"],"tags_count":292,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowflake-Labs%2Fterraform-provider-snowflake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowflake-Labs%2Fterraform-provider-snowflake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowflake-Labs%2Fterraform-provider-snowflake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Snowflake-Labs%2Fterraform-provider-snowflake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Snowflake-Labs","download_url":"https://codeload.github.com/Snowflake-Labs/terraform-provider-snowflake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244924923,"owners_count":20532894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["snowflake","terraform"],"created_at":"2024-10-30T13:09:32.227Z","updated_at":"2025-03-22T08:02:03.338Z","avatar_url":"https://github.com/Snowflake-Labs.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snowflake Terraform Provider\n\n\u003e ⚠️ **Please note**: If you believe you have found a security issue, _please responsibly disclose_ by contacting us at [triage-terraformprovider-dl@snowflake.com](mailto:triage-terraformprovider-dl@snowflake.com).\n\n\u003e ⚠️ **Disclaimer**: The project is in v1 version, but some features are in preview. Such resources and data sources are considered preview features in the provider, regardless of their state in Snowflake. We do not guarantee their stability. They will be reworked and marked as a stable feature in future releases. Breaking changes in these features are expected, even without bumping the major version. They are disabled by default. To use them, add the relevant feature name to `preview_features_enabled` field in the [provider configuration](https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs#schema). The list of preview features is available below. Please always refer to the [Getting Help](https://github.com/Snowflake-Labs/terraform-provider-snowflake?tab=readme-ov-file#getting-help) section in our Github repo to best determine how to get help for your questions.\n\u003e \n\u003e Keep in mind that V1 does not mean we have an official Snowflake support. Please follow [creating issues guidelines](https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/CREATING_ISSUES.md).\n\n----\n\n![.github/workflows/ci.yml](https://github.com/Snowflake-Labs/terraform-provider-snowflake/workflows/.github/workflows/ci.yml/badge.svg)\n\nThis is a terraform provider for managing [Snowflake](https://www.snowflake.com/) resources.\n\n## Table of contents\n\u003c!-- TOC --\u003e\n* [Snowflake Terraform Provider](#snowflake-terraform-provider)\n  * [Table of contents](#table-of-contents)\n  * [Getting started](#getting-started)\n  * [Migration guide](#migration-guide)\n  * [Roadmap](#roadmap)\n  * [Getting Help](#getting-help)\n  * [Would you like to create an issue?](#would-you-like-to-create-an-issue)\n  * [Additional debug logs for `snowflake_grant_privileges_to_role` resource](#additional-debug-logs-for-snowflake_grant_privileges_to_role-resource)\n  * [Additional SQL Client configuration](#additional-sql-client-configuration)\n  * [Contributing](#contributing)\n  * [Releases](#releases)\n\u003c!-- TOC --\u003e\n\n## Getting started\n\n\u003e If you're still using the `chanzuckerberg/snowflake` source, see [Upgrading from CZI Provider](./CZI_UPGRADE.md) to upgrade to the current version.\n\nInstall the Snowflake Terraform provider by adding a requirement block and a provider block to your Terraform codebase:\n```hcl\nterraform {\n  required_providers {\n    snowflake = {\n      source  = \"Snowflake-Labs/snowflake\"\n      version = \"\u003e= 1.0.0\"\n    }\n  }\n}\n\nprovider \"snowflake\" {\n  organization_name = \"organization_name\"\n  account_name      = \"account_name\"\n  user              = \"johndoe\"\n  password          = \"v3ry$3cr3t\"\n  role              = \"ACCOUNTADMIN\"\n}\n```\n\nFor more information on provider configuration see the [provider docs on the Terraform registry](https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs).\n\nDon't forget to run `terraform init` and you're ready to go! 🚀\n\nStart browsing the [registry docs](https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs) to find resources and data sources to use.\n\n## Migration guide\n\nPlease check the [migration guide](./MIGRATION_GUIDE.md) when changing the version of the provider.\n\n## Roadmap\n\nCheck [Roadmap](./ROADMAP.md).\n\n## Getting Help\n\nSome links that might help you:\n\n- The [introductory tutorial](https://guides.snowflake.com/guide/terraforming_snowflake/#0) shows how to set up your Snowflake account for Terraform (service user, role, authentication, etc) and how to create your first resources in Terraform.\n- The [docs on the Terraform registry](https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest) are a complete reference of all resources and data sources supported and contain more advanced examples.\n- The [discussions area](https://github.com/Snowflake-Labs/terraform-provider-snowflake/discussions) of this repo, we use this forum to discuss new features and changes to the provider.\n- **If you are an enterprise customer**, reach out to your account team. This helps us prioritize issues.\n- The [issues section](https://github.com/Snowflake-Labs/terraform-provider-snowflake/issues) might already have an issue addressing your question.\n\n## Would you like to create an issue?\nIf you would like to create a GitHub issue, please read our [guide](./CREATING_ISSUES.md) first.\nIt contains useful links, FAQ, and commonly known issues with solutions that may already solve your case.\n\n## Additional debug logs for `snowflake_grant_privileges_to_role` resource\nSet environment variable `SF_TF_ADDITIONAL_DEBUG_LOGGING` to a non-empty value. Additional logs will be visible with `sf-tf-additional-debug` prefix, e.g.:\n```text\n2023/12/08 12:58:22.497078 sf-tf-additional-debug [DEBUG] Creating new client from db\n```\n\n## Additional SQL Client configuration\nCurrently underlying sql [gosnowflake](https://github.com/snowflakedb/gosnowflake) driver is wrapped with [instrumentedsql](https://github.com/luna-duclos/instrumentedsql). In order to use raw [gosnowflake](https://github.com/snowflakedb/gosnowflake) driver, set environment variable `SF_TF_NO_INSTRUMENTED_SQL` to a non-empty value.\n\nBy default, the underlying driver is set to error level logging. It can be changed by setting `driver_tracing` field in the configuration to one of (from most to least verbose):\n- `trace`\n- `debug`\n- `info`\n- `print`\n- `warning`\n- `error`\n- `fatal`\n- `panic`\n\nRead more in [provider configuration docs](https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs#schema).\n\n## Contributing\n\nCheck [Contributing](./CONTRIBUTING.md).\n\n## Releases\n\nReleases will be performed as needed, typically once every 2 weeks.\n\nReleases are published to [the terraform registry](https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest). Each change has its own release notes (e.g. https://github.com/Snowflake-Labs/terraform-provider-snowflake/releases/tag/v0.89.0) and migration guide if needed (e.g. https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/MIGRATION_GUIDE.md#v0880--v0890).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowflake-labs%2Fterraform-provider-snowflake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnowflake-labs%2Fterraform-provider-snowflake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnowflake-labs%2Fterraform-provider-snowflake/lists"}