繁体   English   中英

Terraform Snowpipe on Azure 集成错误

[英]Terraform Snowpipe on Azure error on integration

我正在尝试使用 azure 上的 terraform 使用https://registry.terraform.io/providers/chanzuckerberg/snowflake/latest/docs/resources/pipe#optional 设置 snowpipe

我的资源是这样的:

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

}

当我运行 terraform apply 时,我得到:

An argument named "integration" is not expected here.

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

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

有没有人设法解决这个问题 go?

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

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM