Skip to content

Commit

Permalink
Store v1 self_link for network and subnetwork (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
rosbo authored Jun 8, 2018
1 parent 36c8530 commit 4f89945
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/compute_instance_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ func flattenNetworkInterfaces(d *schema.ResourceData, config *Config, networkInt
flattened[i] = map[string]interface{}{
"address": iface.NetworkIP,
"network_ip": iface.NetworkIP,
"network": iface.Network,
"subnetwork": iface.Subnetwork,
"network": ConvertSelfLinkToV1(iface.Network),
"subnetwork": ConvertSelfLinkToV1(iface.Subnetwork),
"subnetwork_project": subnet.Project,
"access_config": ac,
"alias_ip_range": flattenAliasIpRange(iface.AliasIpRanges),
Expand Down

0 comments on commit 4f89945

Please sign in to comment.