terraform-aws-modules / terraform-aws-eventbridge

Terraform module to create AWS EventBridge resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/eventbridge/aws
Other
143 stars 149 forks source link

Warning: Argument "is_enabled" is deprecated #105

Closed YannisThalgott closed 9 months ago

YannisThalgott commented 9 months ago

Description

During a terraform application, I receive a warning, an argument is deprecated on the latest version 3.2.0. The deprecated element is in the "aws_cloudwatch_event_rule" resource, specifically "is_enabled".

⚠️ Modification to be made

According to the documentation, replace : is_enabled = lookup(each.value, "enabled", true) with : state = ENABLED

Versions

terraform apply

Screenshot(s) of terminal output

image

antonbabenko commented 9 months ago

Make sure to update the module version. This issue was fixed in #100.

github-actions[bot] commented 8 months ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.