Ensure only lower case letters are in use for resource in AWS IAM Policy
All Resource and NotResource params should be in lower case only.
In AWS Console -
Sign in to the AWS console and go to the IAM console.
In the Navigation pane, select Policies.
In the list of policies, select the policy to edit.
Select the Permissions tab, and then choose Edit policy.
On the review page, review the changes and click Save.
In Terraform -
In the aws_iam_policy, aws_iam_role_policy, aws_iam_group_policy, and aws_iam_user_policy resources, edit the policy field so that the allowed Action list and/or Principal have appropriate values rather than a wildcard.
Update the Resource (or NotResource) ARN list to use specific IDs with valid regions rather than a wildcard. Ensure that they have the arn prefix and that the entire ARN is in lowercase. For more information on how to effectively write an IAM policy see the AWS and Terraform documentation.