storage-integration
Infostrux-Solutions/storage-integration/snowflake
Open Source Snowflake Terraform Module for Snowflake Storage Integration, also in the terraform registry, https://registry.terraform.io/modules/Infostrux-Solutions/storage-integration/snowflake/latest
Snowflake Storage Integration Terraform Module Terraform module which creates storage integration resources on Snowflake. Usage ``hcl module "storage_integration" { source = "Infostrux-Solutions/storage-integration/snowflake" storage_integration_name = "STORAGE_INTEGRATION_EXAMPLE" storage_aws_role_arn = "arn:aws:iam::{account-id}:role/test-snowflake-storage-integration-role" storage_allowed_locations = ["test-snowflake-storage-integration"] roles = ["SYSADMIN", "ACCOUNTADMIN"] } ` Requirements | Name | Version | |------|---------| | terraform | >= 0.13.1 | | snowflake | >= 0.40.0 | | time | 0.9.0 | Providers | Name | Version | |------|---------| | snowflake | >= 0.40.0 | | time | 0.9.0 | Modules No modules. Resources | Name | Type | |------|------| | snowflake_integration_grant.storage_in
| Name | Type | Description | Default |
|---|---|---|---|
| storage_integration_name | string | Name for the storage integration. Integration name must be upper cases and uniqu | required |
| comment | string | Specifies a comment for the storage integration. | "Created by Terraform." |
| storage_provider | string | The provider for the storage integration. | "S3" |
| storage_aws_role_arn | string | The AWS storage integration role. | null |
| privilege | string | The privilege to grant on the integration. | "USAGE" |
| with_grant_option | bool | When this is set to true, allows the recipient role to grant the privileges to o | false |
| enabled | bool | Enable by default. | true |
| type | string | Type of the storage integration. | "EXTERNAL_STAGE" |
| storage_allowed_locations | set(string) | Storage integration allowed buckets (bucket names). | [] |
| seconds_to_wait_before_integration_is_ready | string | Time to wait before integration is ready | "10s" |
| roles | set(string) | Grants privilege to these roles. | [] |
storage_id — The Storage integration ID.comment — The comment for the Storage integration.enabled — The enable status for the Storage integration.type — The type of the Storage integration.storage_provider — The Storage integration provider.storage_allowed_locations — Storage integration allowed buckets.roles — Grants privilege to these roles.storage_integration_name — The Storage integration name.with_grant_option — When this is set to true, allows the recipient role to grant the privileges to other roles.privilege — The privilege to grant on the integration.storage_aws_role_arn — The Snowflake user that will attempt to assume the AWS role.