简体   繁体   中英

How to disable public access for app configuration in terraform

I can create azurerm_app_configuration app configuaration for Azure app configuration. And can create azurerm_private_endpoint using terraform.

But I didnot find out which terraform function can be used to disable public access, as image below.

在此处输入图片说明

Does anyone can help

Just by creating the private endpoint, the public access will be denied . From 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.

However, if you want to control this explicitly, then such a control is not supported in TF . There is github issue about that already:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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