mirror of
https://github.com/letic/terraform-provider-google.git
synced 2024-07-09 11:38:29 +00:00
Ignore beta vs v1 network diff in subnetwork datasource test (#849)
This commit is contained in:
parent
bc03e98998
commit
2e9933be44
|
@ -47,7 +47,6 @@ func testAccDataSourceGoogleSubnetworkCheck(data_source_name string, resource_na
|
||||||
"name",
|
"name",
|
||||||
"description",
|
"description",
|
||||||
"ip_cidr_range",
|
"ip_cidr_range",
|
||||||
"network",
|
|
||||||
"private_ip_google_access",
|
"private_ip_google_access",
|
||||||
"secondary_ip_range",
|
"secondary_ip_range",
|
||||||
}
|
}
|
||||||
|
@ -63,6 +62,10 @@ func testAccDataSourceGoogleSubnetworkCheck(data_source_name string, resource_na
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if v1RsNetwork := ConvertSelfLinkToV1(rs_attr["network"]); ds_attr["network"] != v1RsNetwork {
|
||||||
|
return fmt.Errorf("network is %s; want %s", ds_attr["network"], v1RsNetwork)
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user