@@ -36,7 +36,6 @@ func resourceComputeGlobalAddress() *schema.Resource {
36
36
Importer : & schema.ResourceImporter {
37
37
State : resourceComputeGlobalAddressImport ,
38
38
},
39
-
40
39
Timeouts : & schema.ResourceTimeout {
41
40
Create : schema .DefaultTimeout (240 * time .Second ),
42
41
Update : schema .DefaultTimeout (240 * time .Second ),
@@ -50,9 +49,12 @@ func resourceComputeGlobalAddress() *schema.Resource {
50
49
ForceNew : true ,
51
50
},
52
51
"address_type" : {
53
- Type : schema .TypeString ,
54
- Optional : true ,
55
- ForceNew : true ,
52
+ Type : schema .TypeString ,
53
+ Optional : true ,
54
+ ForceNew : true ,
55
+ Deprecated : `This field is in beta and will be removed from this provider.
56
+ Use the terraform-provider-google-beta provider to continue using it.
57
+ See http://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.` ,
56
58
ValidateFunc : validation .StringInSlice ([]string {"EXTERNAL" , "INTERNAL" , "" }, false ),
57
59
DiffSuppressFunc : emptyOrDefaultStringSuppress ("EXTERNAL" ),
58
60
Default : "EXTERNAL" ,
@@ -72,23 +74,35 @@ func resourceComputeGlobalAddress() *schema.Resource {
72
74
"labels" : {
73
75
Type : schema .TypeMap ,
74
76
Optional : true ,
75
- Elem : & schema.Schema {Type : schema .TypeString },
77
+ Deprecated : `This field is in beta and will be removed from this provider.
78
+ Use the terraform-provider-google-beta provider to continue using it.
79
+ See http://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.` ,
80
+ Elem : & schema.Schema {Type : schema .TypeString },
76
81
},
77
82
"network" : {
78
- Type : schema .TypeString ,
79
- Optional : true ,
80
- ForceNew : true ,
83
+ Type : schema .TypeString ,
84
+ Optional : true ,
85
+ ForceNew : true ,
86
+ Deprecated : `This field is in beta and will be removed from this provider.
87
+ Use the terraform-provider-google-beta provider to continue using it.
88
+ See http://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.` ,
81
89
DiffSuppressFunc : compareSelfLinkOrResourceName ,
82
90
},
83
91
"prefix_length" : {
84
92
Type : schema .TypeInt ,
85
93
Optional : true ,
86
94
ForceNew : true ,
95
+ Deprecated : `This field is in beta and will be removed from this provider.
96
+ Use the terraform-provider-google-beta provider to continue using it.
97
+ See http://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.` ,
87
98
},
88
99
"purpose" : {
89
- Type : schema .TypeString ,
90
- Optional : true ,
91
- ForceNew : true ,
100
+ Type : schema .TypeString ,
101
+ Optional : true ,
102
+ ForceNew : true ,
103
+ Deprecated : `This field is in beta and will be removed from this provider.
104
+ Use the terraform-provider-google-beta provider to continue using it.
105
+ See http://terraform.io/docs/provider/google/provider_versions.html for more details on beta fields.` ,
92
106
ValidateFunc : validation .StringInSlice ([]string {"VPC_PEERING" , "" }, false ),
93
107
},
94
108
"address" : {
0 commit comments