terraform-provider-snowflake icon indicating copy to clipboard operation
terraform-provider-snowflake copied to clipboard

Support Secrets

Open brandocomando opened this issue 1 year ago • 1 comments

Terraform CLI and Provider Versions

Terraform v1.5.5 Snowflake-Labs/snowflake 0.86.0

Use Cases or Problem Statement

I'd like to be able to manage snowflake secrets with terraform. This is not an option today.

Proposal

create new resource: snowflake_secret

and data resource: snowflake_secret

https://docs.snowflake.com/en/sql-reference/sql/create-secret

How much impact is this issue causing?

Medium

Additional Information

No response

brandocomando avatar Feb 22 '24 21:02 brandocomando

Hey @brandocomando. Thanks for reaching out to us.

We have supporting the missing GA resources on our roadmap: https://github.com/Snowflake-Labs/terraform-provider-snowflake/blob/main/ROADMAP.md#our-roadmap. We will visit this topic then.

For now, you can leverage https://registry.terraform.io/providers/Snowflake-Labs/snowflake/latest/docs/resources/unsafe_execute resource. This is a dangerous resource so make sure you read the docs and limitations before using.

sfc-gh-asawicki avatar Feb 23 '24 15:02 sfc-gh-asawicki