Skip to content

Commit 994974c

Browse files
removing deprecated account id from policy dto upon update (#411)
* #CWMS-3818 setting the account id according to resource file in case its provided * #CWMS-3818 setting the account id according to resource file in case its provided * #CWMS-3818 setting the account id according to resource file in case its provided * #CWMS-3818 removing account id from dto upon update since its a deprecated field. the account it is send as query param on the url --------- Co-authored-by: nir-parizer-Imperva <153715967+nir-parizer-Imperva@users.noreply.github.com>
1 parent 64e13e4 commit 994974c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

incapsula/resource_policy.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ func resourcePolicyUpdate(d *schema.ResourceData, m interface{}) error {
186186
Name: d.Get("name").(string),
187187
Enabled: d.Get("enabled").(bool),
188188
PolicyType: d.Get("policy_type").(string),
189-
AccountID: d.Get("account_id").(int),
190189
Description: d.Get("description").(string),
191190
DefaultPolicyConfig: policyGetResponse.Value.DefaultPolicyConfig,
192191
PolicySettings: policySettings,

0 commit comments

Comments
 (0)