Skip to content

Richard-Barrett/terraform-snowflake-oauth-integrations

Repository files navigation

terraform-snowflake-oauth-integrations module

This is a repository that makes an oauth_integration with Snowflake:

  • oauth_integration

Example CICD with BitBucket and Codefresh:

Image

Usage

To use the module you will need to use the following:

module "snowflake_oauth_integration_test" {
  source  = "https://github.com/Richard-Barrett/terraform-snowflake-oauth-integrations"
  version = "0.0.1"

  name         = "TEST"
  comment      = "TEST Comment"
  oauth_client = "TEST"
}

Required Values:

Values
name
comment
oauth_client

Overview

In overview, this repository acts as a digestible module that allows you to create oauth_integrations in Terraform for Snowflake.

Requirements

Name Version
terraform >= 1.3.6
snowflake ~> 0.89.0

Providers

Name Version
snowflake ~> 0.89.0

Modules

No modules.

Resources

Name Type
snowflake_oauth_integration.this resource

Inputs

Name Description Type Default Required
blocked_roles_list List of blocked roles. list(string)
[
"SYSADMIN"
]
no
comment The value of the comment field for the OAuth integration. string n/a yes
enabled Flag to enable or disable the resource. bool true no
name The name of the OAuth integration. string n/a yes
oauth_client The OAuth client. string n/a yes
oauth_issue_refresh_tokens Flag to determine if refresh tokens should be issued. bool true no
oauth_redirect_uri n/a string "https://example.com/callback" no
oauth_refresh_token_validity The validity period of the OAuth refresh token. number 3600 no

Outputs

No outputs.

About

A Terraform Module to Manage Snowflake O-Auth Integrations

Resources

License

Stars

Watchers

Forks

Packages

No packages published