簡體   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