用于创建应用程序服务环境Azure V2的Terraform模块
我有一个Terraform模块,该模块使用ARM模板创建应用程序服务环境,我计划移至Terraform模块 azurerm_app_service_encironments 随着手臂模板的弃用。
当我使用应用程序服务环境搜索Terraform回购时模块 azurerm_app_service_environment 和 azurerm_app_service_environment_v3 。我目前正在使用ASEV2,如何使用Terraform创建该ASEV2?我看到V3有一个单独的模块,V2呢?
另外,我的手臂模板是使用诸如dnssuffix之类的参数,我在 Terraform模块,但存在于。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Terraform中没有可用的文档,
azurerm_app_service_environment_v2
,但是如果您打算迁移App Service Envorymate v3
从azurerm_app_serv_serve_environment_environment_v2 :
文档
azurerm_app_service_environment
和azurerm_app_service_environment_v3
因此,更新版本中不可用的功能很少,因此在dns_suffix
azurerm_app_service_service_envirirrean中不存在原因。 。我尝试从Portal创建App_Service_enViroment,您只能创建
App Service Environment v3
(最新)。注意:2024年8月31日之后,如果您尚未迁移到应用程序服务环境V3,您的应用程序环境V1/V2和部署其中的应用程序将不再可用。
There is no document available in terraform for
azurerm_app_service_environment_v2
but if you are planning to MigrateApp Service Environment v3
fromazurerm_app_service_environment_v2
using ARM so you can refer this document :Also there is feature difference between
azurerm_app_service_environment
andazurerm_app_service_environment_v3
so few features available in update version that not in earlier version so that is the reasondns_suffix
is not there inazurerm_app_service_environment
.I tried to create app_service_enviroment from portal you only have option to create
App Service Environment v3
(Latest).Note : After 31 August 2024, if you haven't migrated to App Service Environment v3, your App Service Environment v1/v2s and the apps deployed in them will no longer be available.