terraform-provider-snowflake icon indicating copy to clipboard operation
terraform-provider-snowflake copied to clipboard

Snowpipe Creation Error ("Integration" field for Azure) should be required.

Open MavrickRody opened this issue 3 years ago • 2 comments

Guys for Azure Integration - Snowpipe

"Integration" should be a required field otherwise the creation of snowpipe fails.

MavrickRody avatar Jan 09 '22 20:01 MavrickRody

@MavrickRody I have been having issues using snowpipe with Azure. This is my template:

resource "snowflake_pipe" "pipe" {
  provider = snowflake.sys_admin
  integration = "myintegration"
  database = "mydb"
  schema   = "PUBLIC"
  name     = "mypipe"

  comment = "A pipe."


  copy_statement = "copy into \"db\".\"schema\".\"table\" from (select $1,$2,$3,$4,$5, $6, $7, $8, $9, $10, metadata$filename, metadata$file_row_number, current_timestamp  from   @db.PUBLIC.stage (file_format => TEST.PUBLIC.CSV))"
  auto_ingest    = true

}

when I run it I get: An argument named "integration" is not expected here.

if I remove integration I get: Pipe Notifications bind failure "Integration cannot be null for Azure.

have you got around to making this work? thanks

andreasportelliinfinity avatar Feb 10 '22 14:02 andreasportelliinfinity

@andreasportelliinfinity Integration should be in the terraform as well, meaning the terraform should have this already imported or created and the settings should be in the state file.

MavrickRody avatar Mar 17 '22 16:03 MavrickRody

We are closing this issue as part of a cleanup described in announcement. If you believe that the issue is still valid in v0.89.0, please open a new ticket.

sfc-gh-asawicki avatar Apr 30 '24 16:04 sfc-gh-asawicki