upgrade a warning to error

This commit is contained in:
clint shryock 2015-11-10 16:27:41 -06:00
parent 83ae6fe410
commit 7152674f9b
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ func resourceAwsElbRead(d *schema.ResourceData, meta interface{}) error {
}
sgId, err := sourceSGIdByName(meta, *lb.SourceSecurityGroup.GroupName, elbVpc)
if err != nil {
log.Printf("[WARN] Error looking up ELB Security Group ID: %s", err)
return fmt.Errorf("[WARN] Error looking up ELB Security Group ID: %s", err)
} else {
d.Set("source_security_group_id", sgId)
}