-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: effective_start on aws_ce_cost_category only applied if no other changes #29044
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
I can confirm this for provider version 4.56.0 and terraform version 1.4.0. |
This functionality has been released in v4.62.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Terraform Core Version
1.3.7
AWS Provider Version
4.50.0
Affected Resource(s)
aws_ce_cost_category recently had a change in #28009 to make the effective_start_date settable, rather than read only. It seems that this only works if there are no other changes to the cost category.
If there are changes to the rule then the effective start date is just set to the beginning of the current month, a second
terraform apply
with no further changes will correctly update the effective start date.Expected Behavior
The effective start date should be set even when there are category rule changes
Actual Behavior
If there are rule changes the effective start date is set to the start of the current month (the default)
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Change the logic in the
rule
section and reapply the terraform, you will see the category start date is not set to the one provided. Reapply and the start date will be correct.Debug Output
No response
Panic Output
No response
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: