mackerelio-labs / mackerel-monitoring-modules

Reusable IaC modules for monitoring systems/services on Mackerel
Apache License 2.0
3 stars 2 forks source link

resource/aws_cloudwatch_event_rule: Add state parameter and deprecate is_enabled parameter terraform-provider-aws v5.27.0 or later #20

Closed ryosukes closed 11 months ago

ryosukes commented 11 months ago

The following warning message is output at the time of plan/apply due to the change of parameters.

Warning: Argument is deprecated

  with module.cw_logs_aggregator_rule_address_mismatch.aws_cloudwatch_event_rule.this,
  on .terraform/modules/cw_logs_aggregator_rule_address_mismatch/cloudwatch-logs-aggregator/rule/main.tf line 8, in resource "aws_cloudwatch_event_rule" "this":
   8:   is_enabled          = var.is_enabled

Use "state" instead

(and 5 more similar warnings elsewhere)
yseto commented 11 months ago

@ryosukes Thank you report this issue. We fixed this issue on v0.2.2.

ryosukes commented 11 months ago

@yseto Thank you!