Deprecated network_interface.address in code in instance template. (#2394)

<!-- This change is generated by MagicModules. -->
/cc @rileykarson
This commit is contained in:
The Magician 2018-11-02 16:13:34 -07:00 committed by Nathan McKinley
parent 7f07dc58e8
commit eb19080de7

View File

@ -220,6 +220,7 @@ func resourceComputeInstanceTemplate() *schema.Resource {
Computed: true, // Computed because it is set if network_ip is set.
Optional: true,
ForceNew: true,
Deprecated: "Please use network_ip",
},
"network_ip": &schema.Schema{
@ -227,7 +228,6 @@ func resourceComputeInstanceTemplate() *schema.Resource {
Computed: true, // Computed because it is set if address is set.
Optional: true,
ForceNew: true,
Deprecated: "Please use address",
},
"subnetwork": &schema.Schema{