-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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]: aws_elasticache_serverless_cache: ecpu_per_second without a limit block count changed from 1 to 0. #35660
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
I checked in Console but it does not allow me to put a 0 in Max ElastiCache Processing Units (ECPUs) limit is out of range. |
true, but if possible with 0, module should not try to set it, as a workaround I have defined this block like below:
|
If you want I can put a validation which will error on Plan stage, is this Ok @mshahmoradi87 |
Added limits as mentioned above |
Hi, I am also encountering this issue. According to AWS CLI documentation, setting these values to zero seems to be the intended way to indicate an unlimited resource cap. In general, there doesn't seem to be a way in the module at the moment to set only a ECPU or data storage limit without setting the other as well. |
This was indeed the issue that I was having too. Not sure with the current validation fix how to set it to unlimited.. |
This functionality has been released in v5.40.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.5.7
AWS Provider Version
5.35.0
Affected Resource(s)
aws_elasticache_serverless_cache
Expected Behavior
Setting ecpu to 0 would mean unlimited
Actual Behavior
Its set it to unlimited but I run into an error after apply
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
apply a aws_elasticache_serverless_cache resource with
ecpu_per_second {
maximum = 0
}
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: