diff --git a/builtin/providers/aws/resource_aws_route_table.go b/builtin/providers/aws/resource_aws_route_table.go index 707ecb68d..7c9590a53 100644 --- a/builtin/providers/aws/resource_aws_route_table.go +++ b/builtin/providers/aws/resource_aws_route_table.go @@ -207,6 +207,9 @@ func routeTableOps(a interface{}, b interface{}) []routeTableOp { if i == 1 { result = newRoutes } + if raws == nil { + continue + } for _, raw := range raws.([]interface{}) { m := raw.(map[string]interface{})