aws_backup_plan enable_continuous_backup rule with no schedule set causes permanent diff #22627
Labels
bug
Addresses a defect in current functionality.
service/backup
Issues and PRs that pertain to the backup service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Terraform CLI and Terraform AWS Provider Version
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Expected Behavior
With the
schedule
commented out, it should apply and not have a diff.Actual Behavior
With the
schedule
not set or commented out it applies but then there is a perpetual diff as Terraform attempts to force it to remove the schedule that AWS automatically sets when it's not present even when that doesn't make sense, such as with a continuous backup rule:Uncommenting the
schedule
parameter makes the diff go away.Steps to Reproduce
terraform apply
References
The text was updated successfully, but these errors were encountered: