With version 9.2.2, this deprecation warning is displayed when applying:
│ Warning: Deprecated attribute
│
│ on .terraform/modules/runner/docker_autoscaler_policy.tf line 19, in resource "aws_iam_policy" "instance_docker_autoscaler_policy":
│ 19: aws_region = data.aws_region.current.name
│
│ The attribute "name" is deprecated. Refer to the provider documentation for details.
With version 9.2.2, this deprecation warning is displayed when applying: