commit
54ab857a54
|
@ -123,13 +123,8 @@ func resourceAwsRouteTableRead(d *schema.ResourceData, meta interface{}) error {
|
|||
m := make(map[string]interface{})
|
||||
m["cidr_block"] = r.DestinationCidrBlock
|
||||
|
||||
if r.GatewayId != "" {
|
||||
m["gateway_id"] = r.GatewayId
|
||||
}
|
||||
|
||||
if r.InstanceId != "" {
|
||||
m["instance_id"] = r.InstanceId
|
||||
}
|
||||
m["gateway_id"] = r.GatewayId
|
||||
m["instance_id"] = r.InstanceId
|
||||
|
||||
route.Add(m)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue