database

Infostrux-Solutions/database/snowflake

Terraform Module HCL SNOWFLAKE

Open Source Snowflake Terraform Module for Database Object Implementation, also in the terraform registry, https://registry.terraform.io/modules/Infostrux-Solutions/database/snowflake/latest

Install
module "database" {
source = "Infostrux-Solutions/database/snowflake"
version = "1.0.0"
}
plain text: /constructs/tfmod-infostrux-solutions-database-snowflake/install.txt
⭐ Source on GitHub 📦 Registry page
README

Snowflake Database Terraform Module Quickly deploy Snowflake Database resources and attach Grants using a Terraform Module. Usage## Usage Simple usage: ``hcl module "database" { source = "Infostrux-Solutions/database/snowflake" name = "DATABASE_NAME" comment = "Created by Terraform" } ` Full usage: `hcl module "database" { source = "Infostrux-Solutions/database/snowflake" name = "DATABASE_NAME" attach_grant_usage = true usage_roles = ["SYSADMIN"] usage_shares = [] usage_with_grant_option = true attach_grant_modify = true modify_roles = ["SYSADMIN"] modify_shares = [] modify_with_grant_option = true attach_grant_create_schema = true create_schema_roles = ["SYSADMIN"] create_schema_shares = [] create_schema_with_grant_option = true attach_grant_monitor = true monitor_roles = ["SYSADMIN"] mon

Inputs (19)
NameTypeDescriptionDefault
namestringThe name to apply to the database resource. required
attach_grant_usageboolCreate the grant usage at the same time. (true|false)false
usage_roleslist(string)A list of roles that will be granted usage on the database.[]
create_schema_roleslist(string)A list of roles that will be granted create_schema on the database.[]
data_retention_time_in_daysstringDays to retain deleted data for. Default is 11
usage_shareslist(string)A list of roles that will be granted usage on the database shares.[]
modify_roleslist(string)A list of roles that will be granted modify on the database.[]
modify_shareslist(string)A list of roles that will be granted modify on the database shares.[]
attach_grant_modifyboolCreate the grant modify at the same time. (true|false)false
modify_with_grant_optionboolWhen this is set to true, allows the recipient role to grant the privileges to ofalse
create_schema_shareslist(string)A list of roles that will be granted create_schema on the database shares.[]
commentstringA comment to add to the database resource."Created by Terraform."
usage_with_grant_optionboolWhen this is set to true, allows the recipient role to grant the privileges to ofalse
attach_grant_create_schemaboolCreate the grant create_schema at the same time. (true|false)false
create_schema_with_grant_optionboolWhen this is set to true, allows the recipient role to grant the privileges to ofalse
attach_grant_monitorboolCreate the grant monitor at the same time. (true|false)false
monitor_roleslist(string)A list of roles that will be granted monitor on the database.[]
monitor_shareslist(string)A list of roles that will be granted monitor on the database shares.[]
monitor_with_grant_optionboolWhen this is set to true, allows the recipient role to grant the privileges to ofalse
Outputs (2)
database_id — The database resource ID.
database_name — The database resource name.
Resources (2)
snowflake_databasesnowflake_database_grant
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud SNOWFLAKE
Total downloads851
Inputs19
Outputs2
Resources2
NamespaceInfostrux-Solutions
Updated