@@ -30,12 +30,6 @@ func Provider() *schema.Provider {
3030 DefaultFunc : schema .EnvDefaultFunc ("NS1_IGNORE_SSL" , nil ),
3131 Description : descriptions ["ignore_ssl" ],
3232 },
33- "enable_ddi" : {
34- Type : schema .TypeBool ,
35- Optional : true ,
36- DefaultFunc : schema .EnvDefaultFunc ("NS1_ENABLE_DDI" , nil ),
37- Description : descriptions ["enable_ddi" ],
38- },
3933 "rate_limit_parallelism" : {
4034 Type : schema .TypeInt ,
4135 Optional : true ,
@@ -108,9 +102,6 @@ func ns1Configure(d *schema.ResourceData) (interface{}, error) {
108102 if v , ok := d .GetOk ("ignore_ssl" ); ok {
109103 config .IgnoreSSL = v .(bool )
110104 }
111- if v , ok := d .GetOk ("enable_ddi" ); ok {
112- config .EnableDDI = v .(bool )
113- }
114105 if v , ok := d .GetOk ("rate_limit_parallelism" ); ok {
115106 config .RateLimitParallelism = v .(int )
116107 }
@@ -134,7 +125,6 @@ func init() {
134125 "rate_limit_parallelism" : "Tune response to rate limits, see docs" ,
135126 "retry_max" : "Maximum retries for 50x errors (-1 to disable)" ,
136127 "user_agent" : "User-Agent string to use in NS1 API requests" ,
137- "enable_ddi" : "Deprecated, no longer in use" ,
138128 }
139129
140130 structs .DefaultTagName = "json"
0 commit comments