Skip to content

Commit

Permalink
ProjectV2: reorder attributes
Browse files Browse the repository at this point in the history
Move required attributes to the top of the quotas scheme.
  • Loading branch information
ozerovandrei committed Nov 7, 2018
1 parent cd8b8cc commit 74d5986
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions selvpc/resource_selvpc_resell_project_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ func resourceResellProjectV2() *schema.Resource {
Set: hashResourceQuotas,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"value": {
Type: schema.TypeInt,
Required: true,
ForceNew: false,
},
"region": {
Type: schema.TypeString,
Optional: true,
Expand All @@ -96,11 +101,6 @@ func resourceResellProjectV2() *schema.Resource {
Optional: true,
ForceNew: false,
},
"value": {
Type: schema.TypeInt,
Required: true,
ForceNew: false,
},
},
},
},
Expand Down

0 comments on commit 74d5986

Please sign in to comment.