azure - 参数“storage_connection_string”是必需的,但没有找到定义
问题描述
我目前正在尝试使用 Terraform 设置 Azure Function 应用程序。
使用来自 Hasihcorp 的文档在这里找到。
但是,在运行时出现terraform plan
以下错误:The argument "storage_connection_string" is required, but no definition was found.
根据文档,没有这样的有效参数,因此我没有包括它。我在四处寻找时只找到了一个条目,这只是一个问题,没有回应。我对 Azure 不太熟悉,所以不知道我是否需要它,storage_connection_string
或者它是否是困扰我的 API。
资源片段:
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"
设置了值的格式和引用,但我在这台计算机上没有代码,所以像这样发布它更有意义。
解决方案
推荐阅读
- python - 查询数据框,但仅将过滤器应用于列值不是 NaN 的行
- python - 复制到新列表后旧列表正在更改
- html - 我正在尝试使用 python-pyviz 打开一个 HTML 文件
- .net-5 - 项目“net5.csproj”以“net5.0”为目标。以 '.NETFramework,Version=v4.6.1' 为目标的项目不能引用它
- php - WordPress 网站中出现了新表格 - 寻求帮助以了解它们的用途?
- oracle - spring boot + oracle 驱动 + 没有合适的驱动
- javascript - 如何获取持有状态的“activeCat”对象的所有信息?
- asp.net - 如何在 WebForms ASP .NET 站点中读取 ASP .Net cookie
- python - 访问在 while 循环中生成的函数的名称。(Python)
- javascript - 在 Ionic Vue 应用程序中使用选项卡时导航到不同路线的问题