Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Snowflake-Labs/snowflake requirement from ~> 0.90.0 to ~> 0.94.1 #6

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions examples/complete/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ variable "notification_channel" {
description = "The notification channel for the pipe."
type = string
default = "arn:aws:sns:us-west-2:123456789012:my-channel"

}
module "snowflake_pipe" {
source = "../.." # Path to the root of the snowflake-pipe module

# Pipe variables
auto_ingest = true
aws_sns_topic_arn = "arn:aws:sns:us-west-2:123456789012:my-topic"
comment = "This is my pipe"
auto_ingest = true
aws_sns_topic_arn = "arn:aws:sns:us-west-2:123456789012:my-topic"
comment = "This is my pipe"

copy_statement = <<EOF
COPY INTO my_table
Expand All @@ -36,9 +36,9 @@ module "snowflake_pipe" {
NOTIFY = '${var.notification_channel}'
EOF

database = "my_database"
name = "my_pipe"
schema = "my_schema"
database = "my_database"
name = "my_pipe"
schema = "my_schema"

# Grant variables
on_future = true
Expand Down
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ terraform {
}
snowflake = {
source = "Snowflake-Labs/snowflake"
version = "~> 0.90.0"
version = "~> 0.94.1"
}
}
}
Expand All @@ -22,7 +22,7 @@ resource "snowflake_pipe" "this" {
copy_statement = var.copy_statement
auto_ingest = var.auto_ingest

aws_sns_topic_arn = var.aws_sns_topic_arn
aws_sns_topic_arn = var.aws_sns_topic_arn
}

resource "snowflake_pipe_grant" "grant" {
Expand Down
Loading