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.8.3
AWS Provider Version
5.72.1
Affected Resource(s)
Expected Behavior
Changes not detected
Actual Behavior
Changes detected and applied
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Steps to Reproduce
Run
terraform apply
.Edit the code to change throughput.
Run
terraform preview
.Expected a plan to update the instance, getting a no-change plan.
Debug Output
N/A
Panic Output
There is a DiffSuppress configuration on this field that was introduced couple of years ago:
https://github.com/hashicorp/terraform-provider-aws/commit/3b9f715a3ab1e8b3af1beca4d28db33d7df4c717 https://github.com/hashicorp/terraform-provider-aws/blob/master/internal/service/ec2/ec2_instance.go#L948 https://github.com/hashicorp/terraform-provider-aws/blob/master/internal/service/ec2/ec2_instance.go#L261
This might have made sense at the time but makes less sense with recent changes in AWS.
Important Factoids
N/A
References
N/A
Would you like to implement a fix?
No