用于创建应用程序服务环境Azure V2的Terraform模块

发布于 2025-02-08 20:33:01 字数 696 浏览 3 评论 0 原文

我有一个Terraform模块,该模块使用ARM模板创建应用程序服务环境,我计划移至Terraform模块 azurerm_app_service_encironments 随着手臂模板的弃用。

当我使用应用程序服务环境搜索Terraform回购时模块 azurerm_app_service_environment azurerm_app_service_environment_v3 。我目前正在使用ASEV2,如何使用Terraform创建该ASEV2?我看到V3有一个单独的模块,V2呢?

另外,我的手臂模板是使用诸如dnssuffix之类的参数,我在 Terraform模块,但存在于

I have a terraform module that creates app service environment using an ARM template and I am planning to move to terraform module azurerm_app_service_encironment as arm templates are getting deprecated.

When I search the terraform repo with app service environment here , I get module azurerm_app_service_Environment and azurerm_app_service_environment_v3. I am currently using ASEV2, how do I create that using terraform? I see V3 has a separate module, what about V2?

Also my ARM template is using params like dnsSuffix which I cannot find in ASE terraform module but exist in ASE version 3.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

香橙ぽ 2025-02-15 20:33:01

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 Migrate App Service Environment v3 from azurerm_app_service_environment_v2 using ARM so you can refer this document :

Also there is feature difference between azurerm_app_service_environment and azurerm_app_service_environment_v3 so few features available in update version that not in earlier version so that is the reason dns_suffix is not there in azurerm_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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文