Skip to content

Commit c24e3a0

Browse files
author
Matthieu Berthomé
committed
add regions regions_status deprecation
1 parent 76896e4 commit c24e3a0

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

Diff for: ovh/resource_cloud_project_network_private.go

+10-8
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,19 @@ func resourceCloudProjectNetworkPrivate() *schema.Resource {
5858
Default: 0,
5959
},
6060
"regions": {
61-
Type: schema.TypeSet,
62-
Optional: true,
63-
Computed: true,
64-
ForceNew: true,
65-
Elem: &schema.Schema{Type: schema.TypeString},
66-
Set: schema.HashString,
61+
Type: schema.TypeSet,
62+
Optional: true,
63+
Computed: true,
64+
Deprecated: "use the regions_attributes field instead",
65+
ForceNew: true,
66+
Elem: &schema.Schema{Type: schema.TypeString},
67+
Set: schema.HashString,
6768
},
6869

6970
"regions_status": {
70-
Type: schema.TypeSet,
71-
Computed: true,
71+
Type: schema.TypeSet,
72+
Computed: true,
73+
Deprecated: "use the regions_attributes field instead",
7274
Elem: &schema.Resource{
7375
Schema: map[string]*schema.Schema{
7476
"status": {

0 commit comments

Comments
 (0)