Skip to content

Commit 09b3440

Browse files
modular-magiciannat-henderson
authored andcommitted
Deprecated network_interface.address in code in instance template. (#2394)
<!-- This change is generated by MagicModules. --> /cc @rileykarson
1 parent 4570cd1 commit 09b3440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/resource_compute_instance_template.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,14 +220,14 @@ func resourceComputeInstanceTemplate() *schema.Resource {
220220
Computed: true, // Computed because it is set if network_ip is set.
221221
Optional: true,
222222
ForceNew: true,
223+
Deprecated: "Please use network_ip",
223224
},
224225

225226
"network_ip": &schema.Schema{
226227
Type: schema.TypeString,
227228
Computed: true, // Computed because it is set if address is set.
228229
Optional: true,
229230
ForceNew: true,
230-
Deprecated: "Please use address",
231231
},
232232

233233
"subnetwork": &schema.Schema{

0 commit comments

Comments
 (0)