@@ -39,16 +39,15 @@ const (
39
39
)
40
40
41
41
type Parameter struct {
42
- Value string
43
- Name string
44
- Description string
45
- DescriptionMarkdown string
46
- Type string
47
- Mutable bool
48
- Default string
49
- Icon string
50
- Option []Option
51
- Validation []Validation
42
+ Value string
43
+ Name string
44
+ Description string
45
+ Type string
46
+ Mutable bool
47
+ Default string
48
+ Icon string
49
+ Option []Option
50
+ Validation []Validation
52
51
}
53
52
54
53
func parameterDataSource () * schema.Resource {
@@ -59,27 +58,25 @@ func parameterDataSource() *schema.Resource {
59
58
60
59
var parameter Parameter
61
60
err := mapstructure .Decode (struct {
62
- Value interface {}
63
- Name interface {}
64
- Description interface {}
65
- DescriptionMarkdown interface {}
66
- Type interface {}
67
- Mutable interface {}
68
- Default interface {}
69
- Icon interface {}
70
- Option interface {}
71
- Validation interface {}
61
+ Value interface {}
62
+ Name interface {}
63
+ Description interface {}
64
+ Type interface {}
65
+ Mutable interface {}
66
+ Default interface {}
67
+ Icon interface {}
68
+ Option interface {}
69
+ Validation interface {}
72
70
}{
73
- Value : rd .Get ("value" ),
74
- Name : rd .Get ("name" ),
75
- Description : rd .Get ("description" ),
76
- DescriptionMarkdown : rd .Get ("description_markdown" ),
77
- Type : rd .Get ("type" ),
78
- Mutable : rd .Get ("mutable" ),
79
- Default : rd .Get ("default" ),
80
- Icon : rd .Get ("icon" ),
81
- Option : rd .Get ("option" ),
82
- Validation : rd .Get ("validation" ),
71
+ Value : rd .Get ("value" ),
72
+ Name : rd .Get ("name" ),
73
+ Description : rd .Get ("description" ),
74
+ Type : rd .Get ("type" ),
75
+ Mutable : rd .Get ("mutable" ),
76
+ Default : rd .Get ("default" ),
77
+ Icon : rd .Get ("icon" ),
78
+ Option : rd .Get ("option" ),
79
+ Validation : rd .Get ("validation" ),
83
80
}, & parameter )
84
81
if err != nil {
85
82
return diag .Errorf ("decode parameter: %s" , err )
@@ -145,11 +142,6 @@ func parameterDataSource() *schema.Resource {
145
142
Optional : true ,
146
143
Description : "Describe what this parameter does." ,
147
144
},
148
- "description_markdown" : {
149
- Type : schema .TypeString ,
150
- Optional : true ,
151
- Description : "Alternative description with Markdown tags." ,
152
- },
153
145
"type" : {
154
146
Type : schema .TypeString ,
155
147
Default : "string" ,
0 commit comments