The values for condition key aws:SourceIp include a mix of private and public IP addresses. This may leave AWS resources open to public/unauthorized clients.
In AWS Console -
In Terraform -
References:
https://docs.aws.amazon.com/IAM/latest/UserGuide/service_code_examples_iam.html
https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/iam_policy