This is a repository that makes an oauth_integration with Snowflake:
- oauth_integration
Example CICD with BitBucket
and Codefresh
:
To use the module you will need to use the following:
module "snowflake_oauth_integration_test" {
source = "git::https://github.com/Richard-Barrett/terraform-snowflake-oauth-integrations.git?ref=1.3.0"
name = "TEST"
comment = "TEST Comment"
oauth_client_type = "CONFIDENTIAL"
oauth_redirect_uri = "https://example.com/callback"
}
Required Values:
Values |
---|
name |
comment |
oauth_client_type |
oauth_redirect_uri |
In overview, this repository acts as a digestible module that allows you to create oauth_integrations in Terraform for Snowflake.
Name | Version |
---|---|
terraform | >= 1.3.6 |
snowflake | >= 1.0.0 |
Name | Version |
---|---|
snowflake | >= 1.0.0 |
No modules.
Name | Type |
---|---|
snowflake_oauth_integration_for_custom_clients.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
blocked_roles_list | List of blocked roles. | list(string) |
[ |
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_allow_non_tls_redirect_uri | Allow non-TLS redirect URIs. | bool |
true |
no |
oauth_client_type | The type of OAuth client (e.g., CONFIDENTIAL). | string |
"CONFIDENTIAL" |
no |
oauth_enforce_pkce | Enforce PKCE for OAuth. | bool |
true |
no |
oauth_issue_refresh_tokens | Flag to determine if refresh tokens should be issued. | bool |
true |
no |
oauth_redirect_uri | The OAuth redirect URI. | string |
"https://example.com/callback" |
no |
oauth_refresh_token_validity | The validity period of the OAuth refresh token. | number |
3600 |
no |
oauth_use_secondary_roles | Use secondary roles for OAuth. | string |
"NONE" |
no |
No outputs.