Upgrading a Provider
The lock file pins hashicorp/aws 5.40, and you want 5.60, which your constraint ~> 5.0 allows. What do you run?
hashicorp/aws
~> 5.0
Choose one answer
Delete .terraform/ and the lock file, then run tofu plan
.terraform/
tofu plan
tofu init (it upgrades providers automatically)
tofu init
tofu apply -refresh-only
tofu init -upgrade