AHA is an incident management & communication framework to provide real-time alert customers when there are active AWS event(s). For customers with AWS Organizations, customers can get aggregated active account level events of all the accounts in the Organization. Customers not using AWS Organizations still benefit alerting at the account level.
is_enabled is deprecated. Terraform 1.8.3 recommends using 'state' instead.
Terraform version:
1.8.3
AHA Version:
2.2.2
Affected Resources
aws_cloudwatch_event_rule
Expected Behavior
terraform validate or plan should complete without warnings
Actual Behavior
Output from terraform plan:
Warning: Argument is deprecated
│
│ with aws_cloudwatch_event_rule.AHA-LambdaSchedule-PrimaryRegion,
│ on Terraform_DEPLOY_AHA.tf line 755, in resource "aws_cloudwatch_event_rule" "AHA-LambdaSchedule-PrimaryRegion":
│ 755: is_enabled = true
│
│ Use "state" instead
|
│ (and 3 more similar warnings elsewhere)
Output from terraform validate -json formatted
Detail Address Filename Line
------ ------- -------- ----
Use "state" instead aws_cloudwatch_event_rule.AHA-LambdaSchedule-SecondaryRegion Terraform_DEPLOY_AHA.tf 767
Use "state" instead aws_cloudwatch_event_rule.AHA-LambdaSchedule-PrimaryRegion Terraform_DEPLOY_AHA.tf 755
Additional remarks: terraform plan states 3 similar warnings when terraform validate -json reports only 2.
is_enabled is deprecated. Terraform 1.8.3 recommends using 'state' instead.
Terraform version: 1.8.3
AHA Version: 2.2.2
Affected Resources aws_cloudwatch_event_rule
Expected Behavior terraform validate or plan should complete without warnings
Actual Behavior
Output from terraform plan:
Output from terraform validate -json formatted
Additional remarks:
terraform plan
states 3 similar warnings whenterraform validate -json
reports only 2.Terraform configuration:
Steps to reproduce: