provider/aws: More strict check

This commit is contained in:
Armon Dadgar 2014-07-28 12:50:19 -04:00
parent c8d5ea4d9d
commit c2677b3c0a
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ func resource_aws_instance_update_state(
continue
}
if strings.Contains(str, "sg-") {
if strings.HasPrefix(str, "sg-") {
useID = true
break
}