@@ -30,17 +30,6 @@ func resourceAnswer() *schema.Resource {
3030 Type : schema .TypeInt ,
3131 Required : true ,
3232 },
33- "tags" : {
34- Type : schema .TypeList ,
35- Optional : true ,
36- Elem : & schema.Schema {
37- Type : schema .TypeString ,
38- },
39- },
40- "title" : {
41- Type : schema .TypeString ,
42- Optional : true ,
43- },
4433 },
4534 Importer : & schema.ResourceImporter {
4635 StateContext : schema .ImportStatePassthroughContext ,
@@ -57,8 +46,6 @@ func resourceAnswerCreate(ctx context.Context, d *schema.ResourceData, meta inte
5746 answer := & so.Answer {
5847 BodyMarkdown : d .Get ("body_markdown" ).(string ),
5948 QuestionID : d .Get ("question_id" ).(int ),
60- Title : d .Get ("title" ).(string ),
61- Tags : mergeDefaultTagsWithResourceTags (client .DefaultTags , expandTagsToArray (d .Get ("tags" ).([]interface {}))),
6249 Filter : d .Get ("filter" ).(string ),
6350 }
6451
@@ -99,8 +86,6 @@ func resourceAnswerRead(ctx context.Context, d *schema.ResourceData, meta interf
9986 d .SetId (strconv .Itoa (answer .ID ))
10087 d .Set ("body_markdown" , answer .BodyMarkdown )
10188 d .Set ("question_id" , answer .QuestionID )
102- d .Set ("title" , answer .Title )
103- d .Set ("tags" , ignoreDefaultTags (client .DefaultTags , answer .Tags , expandTagsToArray (d .Get ("tags" ).([]interface {}))))
10489
10590 return diags
10691}
@@ -120,8 +105,6 @@ func resourceAnswerUpdate(ctx context.Context, d *schema.ResourceData, meta inte
120105 ID : answerID ,
121106 BodyMarkdown : d .Get ("body_markdown" ).(string ),
122107 QuestionID : d .Get ("question_id" ).(int ),
123- Title : d .Get ("title" ).(string ),
124- Tags : mergeDefaultTagsWithResourceTags (client .DefaultTags , expandTagsToArray (d .Get ("tags" ).([]interface {}))),
125108 Filter : d .Get ("filter" ).(string ),
126109 }
127110
0 commit comments