You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Follow directions to deploy Terraform_DEPLOY_AHA (AHA WITH AWS Organizations on Management Account using Terraform)
The text was updated successfully, but these errors were encountered:
rkrenzis
changed the title
Terraform_DEPLOY_AHA.tf: Add state; is_enabled is deprecated in recent versions of Terraform
Terraform_DEPLOY_AHA.tf: is_enabled deprecated in recent versions of Terraform
May 22, 2024
rkrenzis
changed the title
Terraform_DEPLOY_AHA.tf: is_enabled deprecated in recent versions of Terraform
Terraform_DEPLOY_AHA.tf: Terraform warns is_enabled deprecated
May 22, 2024
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:
The text was updated successfully, but these errors were encountered: