【问题标题】:Specify the Log Group for API-Gateway using Terraform使用 Terraform 为 API-Gateway 指定日志组
【发布时间】:2019-07-25 16:38:40
【问题描述】:

我正在使用 Terraform 来处理 API-Gateway,并且我启用了 CloudWatch Logs。但是,我想自定义 Log Group 的名称,使其与 Log Group 负责的项目更相关,因为“API-Gateway-Execution-Logs_xxxxxx/stage”不是一个非常相关的名称。特别是如果您计划部署多个应用程序。

所以我想知道是否可以在 Terraform AWS 提供商配置元素之一中的任何位置指定日志组的名称,以便我可以放置所需的日志组。

【问题讨论】:

    标签: amazon-web-services terraform terraform-provider-aws


    【解决方案1】:

    很遗憾,您无法使用 API Gateway 自定义日志组名称。

    【讨论】:

    猜你喜欢
    • 2020-10-25
    • 2021-06-05
    • 2019-02-08
    • 2017-01-06
    • 2020-05-13
    • 2016-11-30
    • 2022-01-12
    • 2018-01-07
    • 2021-03-16
    相关资源
    最近更新 更多