It should be able to apply without any error when not declare noncurrent_days
Actual Behavior
Error: creating S3 Lifecycle Configuration for bucket: InvalidArgument: 'NoncurrentDays' for NoncurrentVersionExpiration action must be a positive integer
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.2.9
AWS Provider Version
5.23.1
Affected Resource(s)
aws_s3_bucket_lifecycle_configuration
Expected Behavior
It should be able to apply without any error when not declare
noncurrent_days
Actual Behavior
Error: creating S3 Lifecycle Configuration for bucket: InvalidArgument: 'NoncurrentDays' for NoncurrentVersionExpiration action must be a positive integer
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
run script above
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None