Skip to content

Commit

Permalink
terraform fmt: automated action
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and github-actions[bot] committed Aug 19, 2024
1 parent b46fa87 commit 649d218
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
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
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 649d218

Please sign in to comment.