[Bug]: Constant diff on update or error on creation of aws_ce_cost_category #38215
Labels
bug
Addresses a defect in current functionality.
service/ce
Issues and PRs that pertain to the ce service.
Terraform Core Version
1.8.4
AWS Provider Version
5.50.0
Affected Resource(s)
Expected Behavior
A new creation of the resource completes without error, and updates complete without a constant diff.
Actual Behavior
Working around the constant diff prevents the resource being created in the first place. Forming the resource so the resource can be created properly results in a constant diff on re-plan/re-apply.
Relevant Error/Panic Output Snippet
This is the error that we get if we attempt to fix the constant diff, which breaks creation or updating of the resource.
Terraform Configuration Files
This works, but results in a constant diff on re-applies. This suggests an empty
rule {}
block (within the outerrule
block) is required to prevent the constant diff.Indeed, if you supply the empty
rule {}
block where the diff suggests, this allows a subsequent plan to proceed without any diff for this resource. However, creating the resource anew with the emptyrule {}
block in place leads to the error as pasted above.Steps to Reproduce
rule {}
block in place.rule {}
block. The resource will create as expected.Debug Output
N/A
Panic Output
N/A
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: