File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,12 @@ func metadataResource() *schema.Resource {
103103 ForceNew : true ,
104104 Computed : true ,
105105 },
106+ "order" : {
107+ Type : schema .TypeInt ,
108+ Description : "The order in which this item will be displayed relative to other items. Lower numbers appear first." ,
109+ ForceNew : true ,
110+ Computed : true ,
111+ },
106112 },
107113 },
108114 },
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ func TestMetadata(t *testing.T) {
3030 item {
3131 key = "foo"
3232 value = "bar"
33+ order = 4
3334 }
3435 item {
3536 key = "secret"
@@ -66,6 +67,7 @@ func TestMetadata(t *testing.T) {
6667 "item.0.key" : "foo" ,
6768 "item.0.value" : "bar" ,
6869 "item.0.sensitive" : "false" ,
70+ "item.0.order" : "4" ,
6971 "item.1.key" : "secret" ,
7072 "item.1.value" : "squirrel" ,
7173 "item.1.sensitive" : "true" ,
You can’t perform that action at this time.
0 commit comments