Azure 上的 Terraform Snowpipe 集成错误

Terraform Snowpipe on Azure error on integration

我正在尝试使用 https://registry.terraform.io/providers/chanzuckerberg/snowflake/latest/docs/resources/pipe#optional

在 Azure 上使用 terraform 设置雪管

我的资源是这样的:

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 ,,,,, , , , , , metadata$filename, metadata$file_row_number, current_timestamp  from   @db.PUBLIC.stage (file_format => TEST.PUBLIC.CSV))"
  auto_ingest    = true

}

当我 运行 terraform 应用时,我得到:

An argument named "integration" is not expected here.

如果我从上面删除 integration = "myintegration" 我得到:

Pipe Notifications bind failure "Integration cannot be null for Azure."

有人设法解决这个问题吗?

integration 参数已于 2021 年 6 月 4 日添加到 this commit 中的资源架构中。提供程序缺少完整的 CHANGELOG,因此我们必须对来自提供商注册表。在这种情况下,您似乎需要将提供程序版本升级到至少 0.25.0 才能支持此功能。