azure - 如何在 terraform 中禁用应用程序配置的公共(public)访问

标签 azure terraform azure-app-configuration

我可以为 Azure 应用配置创建 azurerm_app_configuration 应用配置。 并且可以使用 terraform 创建 azurerm_private_endpoint

但是我没有找到哪个 terraform 函数可以用来禁用公共(public)访问,如下图。

enter image description here

谁能帮忙

最佳答案

仅通过创建专用端点,公共(public)访问将被拒绝。来自 docs :

By default, when a private endpoint is added to your App Configuration store, all requests for your App Configuration data over the public network are denied. You can enable public network access by using the following Azure CLI command.

但是,如果您想显式控制它,那么 TF 不支持这样的控制。已经有 github 问题了:

关于azure - 如何在 terraform 中禁用应用程序配置的公共(public)访问,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69694725/

相关文章:

Azure APIM - Terraform - 对多个产品使用相同的 AAD 组错误

Azure应用程序配置: Double underscore not equivalent to colon when trying to denote nesting

Azure 移动服务到应用服务的困惑

azure - Azure 高级威胁防护扫描 Blob 时是否可以触发逻辑应用或函数

azure-devops - 在 Azure DevOps Pipelines (YAML) 中通过手动批准跳过阶段

java - 无法将 'config.map' 下的属性绑定(bind)到 java.util.Map<java.lang.String、java.util.Map<java.lang.Integer、java.util.List<java.lang.Integer>>> :

azure - Azure应用程序配置Web Hook 是否通过http调用更新应用程序的所有实例?

azure - 404/signalr/negotiate 在 Azure 中部署的应用程序

java - 设置内容类型 Azure Blob 存储

azure - terraform application_security_group_ids 无效或未知 key