【发布时间】:2021-03-26 23:55:51
【问题描述】:
我目前正在尝试使用 Terraform 设置 Azure Function 应用程序。
使用从 Hasihcorp 找到的文档here。
但是,当运行 terraform plan 时,我收到以下错误:The argument "storage_connection_string" is required, but no definition was found.
根据文档,没有这样的有效参数,因此我没有包含它。我在四处寻找时只找到了一个条目,这只是一个问题,没有回应。我对 Azure 不太熟悉,所以不知道我是否需要 storage_connection_string 或者它是否是困扰我的 API。
资源sn-p:
resource "azurerm_function_app" "this" {
name = "function-name"
resource_group_name = "resource-group"
location = "location"
app_service_plan_id = "id"
storage_account_name = "name"
storage_account_access_key = "key"
设置了值的格式和引用,但我在这台计算机上没有代码,所以像这样发布它更有意义。
【问题讨论】:
标签: azure azure-functions terraform terraform-provider-azure