mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
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
Block a user