在Terraform中,如何在Azure中为应用程序服务设置新的路径映射?

问题描述

天蓝色,当我转到App Service->设置->配置->路径映射时,我看到以下内容:

enter image description here

现在让我们假设我想向其添加更多路径映射,该如何使用App服务插槽进行操作,我们如何使用terraform来实现类似的功能? 我假装的例子:

enter image description here

我从terraform提供商那里找到了一个github答案,其中涉及使用App Service Slot部署Azure模板。

https://github.com/terraform-providers/terraform-provider-azurerm/issues/1422

有人找到了一种方法吗?

解决方法

看起来这在Terraform中尚不可能。根据{{​​3}},您可以在Terraform完成资源配置后,通过PowerShell脚本添加更多路径映射。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...