network-policy

Infostrux-Solutions/network-policy/snowflake

Terraform Module HCL SNOWFLAKE

Open Source Snowflake Terraform Module for Network Policy Implementation, also in the terraform registry, https://registry.terraform.io/modules/Infostrux-Solutions/network-policy/snowflake/latest

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

Snowflake Network Policy Terraform Module Terraform module which creates network policy resources on Snowflake. Usage Simple usage: ``hcl module "network_policy" { source = "Infostrux-Solutions/network-policy/snowflake" name = "simple-policy" allowed_ips = ["172.218.20.30/32"] } ` Full Usage: `hcl module "network_policy" { source = "Infostrux-Solutions/network-policy/snowflake" name = "advanced-policy" allowed_ips = ["172.218.20.30/32"] blocked_ips = ["124.74.33.12/32"] attach_policy = true set_for_account = false users_list = ["attach-policy-to-me"] } ` Requirements | Name | Version | |------|---------| | terraform | >= 0.13.1 | | snowflake | >=0.40.0 | Providers | Name | Version | |------|---------| | snowflake | >=0.40.0 | Modules No modules. Resources | Name | Type | |------|------| |

Inputs (7)
NameTypeDescriptionDefault
namestringThe name to apply to the Snowflake network policy. required
attach_policyboolCreate the policy attachment at the same time. (true|false)false
set_for_accountboolSet this policy attachment on the account level. (true|false)false
users_listlist(string)A list of users that the policy will be attached to.[]
commentstringComment (description) to add to the network policy."IPs allowed|blocked in the Snowflake ac
allowed_ipslist(string)A list of IP/CIDRs to allow access into the Snowflake account. (This will by def[]
blocked_ipslist(string)A list of IP/CIDRs to block access into the Snowflake account. (Do not add 0.0.0[]
Outputs (3)
allowed_ips — Allowed IP list
blocked_ips — Blocked IPs list
users_list — Users list
Resources (2)
snowflake_network_policysnowflake_network_policy_attachment
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud SNOWFLAKE
Total downloads2.0k
Inputs7
Outputs3
Resources2
NamespaceInfostrux-Solutions
Updated