File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import (
12
12
func resourcePDNSRecord () * schema.Resource {
13
13
return & schema.Resource {
14
14
Create : resourcePDNSRecordCreate ,
15
+ Update : resourcePDNSRecordCreate ,
15
16
Read : resourcePDNSRecordRead ,
16
17
Delete : resourcePDNSRecordDelete ,
17
18
Exists : resourcePDNSRecordExists ,
@@ -23,31 +24,31 @@ func resourcePDNSRecord() *schema.Resource {
23
24
"zone" : {
24
25
Type : schema .TypeString ,
25
26
Required : true ,
26
- ForceNew : true ,
27
+ ForceNew : false ,
27
28
},
28
29
29
30
"name" : {
30
31
Type : schema .TypeString ,
31
32
Required : true ,
32
- ForceNew : true ,
33
+ ForceNew : false ,
33
34
},
34
35
35
36
"type" : {
36
37
Type : schema .TypeString ,
37
38
Required : true ,
38
- ForceNew : true ,
39
+ ForceNew : false ,
39
40
},
40
41
41
42
"ttl" : {
42
43
Type : schema .TypeInt ,
43
44
Required : true ,
44
- ForceNew : true ,
45
+ ForceNew : false ,
45
46
},
46
47
"records" : {
47
48
Type : schema .TypeSet ,
48
49
Elem : & schema.Schema {Type : schema .TypeString },
49
50
Required : true ,
50
- ForceNew : true ,
51
+ ForceNew : false ,
51
52
Set : schema .HashString ,
52
53
},
53
54
You can’t perform that action at this time.
0 commit comments