warehouse

Infostrux-Solutions/warehouse/snowflake

Terraform Module HCL SNOWFLAKE

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

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

Snowflake Warehouse Terraform Module Quickly deploy Snowflake Warehouse resources and attach Grants using a Terraform Module. Usage Simple usage: ``hcl module "warehouse" { source = "Infostrux-Solutions/warehouse/snowflake" name = "warehouse_name" } ` Full usage: `hcl module "warehouse" { source = "Infostrux-Solutions/warehouse/snowflake" name = "warehouse_name" comment = "This is for describing the warehouse purpose." size = "xsmall" initially_suspended = true auto_resume = true auto_suspend = 300 min_cluster_count = 1 max_cluster_count = 2 max_concurrency_level = 0 scaling_policy = "STANDARD" resource_monitor = "" statement_timeout_in_seconds = 172800 statement_queued_timeout_in_seconds = 0 attach_grant_usage = true usage_roles = ["SYSADMIN"] usage_with_grant_option = true attach_grant_m

Inputs (29)
NameTypeDescriptionDefault
namestringThe name to apply to the Snowflake warehouse. required
attach_grant_monitorboolCreate the grant monitor at the same time. (true|false)false
initially_suspendedboolWhether or not the warehouse is suspended upon creation (true|false)true
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 warehouse.[]
ownership_roleslist(string)A list of roles that will be granted ownership on the warehouse.[]
sizestringThe size of warehouse to provision for query processing."xsmall"
modify_with_grant_optionboolWhen this is set to true, allows the recipient role to grant the privileges to ofalse
monitor_roleslist(string)A list of roles that will be granted monitor on the warehouse.[]
min_cluster_countnumberSmallest cluster size to provision.null
max_cluster_countnumberLargest cluster size to provision.null
scaling_policystringSpecifies the policy for automatically starting and shutting down clusters in a null
resource_monitorstringSpecifies the name of a resource monitor that is explicitly assigned to the warenull
wait_for_provisioningboolSpecifies whether the warehouse, after being resized, waits for all the servers null
statement_queued_timeout_in_secondsnumberObject parameter that specifies the time, in seconds, a SQL statement (query, DD0
modify_roleslist(string)A list of roles that will be granted modify on the warehouse.[]
operate_roleslist(string)A list of roles that will be granted operate on the warehouse.[]
operate_with_grant_optionboolWhen this is set to true, allows the recipient role to grant the privileges to ofalse
monitor_with_grant_optionboolWhen this is set to true, allows the recipient role to grant the privileges to ofalse
statement_timeout_in_secondsnumberSpecifies the time, in seconds, after which a running SQL statement (query, DDL,172800
commentstringComment (description) to add to the warehouse."Created by Terraform"
Outputs (2)
warehouse_name — The Warehouse resource name.
warehouse_id — The Warehouse resource ID.
Resources (2)
snowflake_warehousesnowflake_warehouse_grant
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud SNOWFLAKE
Total downloads284
Inputs29
Outputs2
Resources2
NamespaceInfostrux-Solutions
Updated