diff --git a/builtin/providers/aws/validators.go b/builtin/providers/aws/validators.go index 075958725..8102b456a 100644 --- a/builtin/providers/aws/validators.go +++ b/builtin/providers/aws/validators.go @@ -398,8 +398,7 @@ func validateCIDRNetworkAddress(v interface{}, k string) (ws []string, errors [] if ipnet == nil || value != ipnet.String() { errors = append(errors, fmt.Errorf( - "%q must contain a valid network CIDR, expected %q, got %q", - k, ipnet, value)) + "%q must contain a valid network CIDR, got %q", k, value)) } return