Print log in one line
This commit is contained in:
parent
2260045dc8
commit
675f8ea7b9
|
@ -293,9 +293,7 @@ func resourceAwsInstanceCreate(d *schema.ResourceData, meta interface{}) error {
|
||||||
|
|
||||||
if v := d.Get("security_groups"); v != nil {
|
if v := d.Get("security_groups"); v != nil {
|
||||||
if runOpts.SubnetId != "" {
|
if runOpts.SubnetId != "" {
|
||||||
log.Printf(
|
log.Printf("[WARN] Deprecated. Attempting to use 'security_groups' within a VPC instance. Use 'vpc_security_group_ids' instead.")
|
||||||
"[WARN] Deprecated. Attempting to use 'security_groups' within a VPC instance. Use 'vpc_security_group_ids' instead."
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, v := range v.(*schema.Set).List() {
|
for _, v := range v.(*schema.Set).List() {
|
||||||
|
|
Loading…
Reference in New Issue