diff --git a/pkg/cloudprovider/providers/aws/aws.go b/pkg/cloudprovider/providers/aws/aws.go index adad77bfeda..3f2cd8b286f 100644 --- a/pkg/cloudprovider/providers/aws/aws.go +++ b/pkg/cloudprovider/providers/aws/aws.go @@ -1655,7 +1655,7 @@ func (s *AWSCloud) ensureSecurityGroupIngress(securityGroupId string, addPermiss _, err = s.ec2.AuthorizeSecurityGroupIngress(request) if err != nil { glog.Warning("Error authorizing security group ingress", err) - return false, err + return false, fmt.Errorf("error authorizing security group ingress: %v", err) } return true, nil