【发布时间】:2019-04-03 17:06:27
【问题描述】:
当我在启动配置中使用自动缩放时,默认情况下似乎启用详细监控。
当我直接使用 aws_instance 资源创建 EC2 实例时,默认情况下,详细监控似乎是禁用。
有这种差异的原因吗?如果我不需要对我的应用程序进行详细监控(每 1 分钟发送一次数据),我可以在 Autoscaling 使用的启动配置中安全地将其设置为 false 吗?
我已阅读以下链接,但无法找到有关监控级别的任何其他信息。
https://www.terraform.io/docs/providers/aws/r/launch_configuration.html#enable_monitoring
https://www.terraform.io/docs/providers/aws/r/instance.html#monitoring
【问题讨论】:
标签: amazon-web-services terraform terraform-provider-aws