providers/aws: acceptance test was too strict
This commit is contained in:
parent
34b3e3ced6
commit
cd1e70faab
|
@ -93,10 +93,6 @@ func testAccCheckAWSEIPAttributes(conf *ec2.Address) resource.TestCheckFunc {
|
|||
return fmt.Errorf("empty public_ip")
|
||||
}
|
||||
|
||||
if conf.PrivateIpAddress != "" {
|
||||
return fmt.Errorf("should not have private_ip for non-vpc")
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue