provider/aws: More strict check
This commit is contained in:
parent
c8d5ea4d9d
commit
c2677b3c0a
|
@ -274,7 +274,7 @@ func resource_aws_instance_update_state(
|
|||
continue
|
||||
}
|
||||
|
||||
if strings.Contains(str, "sg-") {
|
||||
if strings.HasPrefix(str, "sg-") {
|
||||
useID = true
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue