You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know you asked not to truncate the output but I can't easly risk giving you a full output file.
2022-11-14T23:06:31.059Z [INFO] provider.terraform-provider-incapsula_v3.10.2: 2022/11/14 23:06:31 [INFO] Deleting Incapsula Incap Rule XXXXXX3 for Site ID 5XXXXXXX: timestamp=2022-11-14T23:06:31.059Z
2022-11-14T23:06:31.059Z [INFO] provider.terraform-provider-incapsula_v3.10.2: 2022/11/14 23:06:31 [INFO] Deleting Incapsula Incap Rule XXXXXX4 for Site ID 5XXXXXXX: timestamp=2022-11-14T23:06:31.059Z
2022-11-14T23:06:31.059Z [INFO] provider.terraform-provider-incapsula_v3.10.2: 2022/11/14 23:06:31 [INFO] Deleting Incapsula Incap Rule XXXXXX5 for Site ID 5XXXXXXX: timestamp=2022-11-14T23:06:31.059Z
2022-11-14T23:06:31.611Z [INFO] provider.terraform-provider-incapsula_v3.10.2: 2022/11/14 23:06:31 [DEBUG] Incapsula Delete Incap Rule JSON response: {"res":0,"res_message":"OK","debug_info":{"id-info":"999999","status":"ok"}}: timestamp=2022-11-14T23:06:31.611Z
2022-11-14T23:06:31.883Z [INFO] provider.terraform-provider-incapsula_v3.10.2: 2022/11/14 23:06:31 [DEBUG] Incapsula Delete Incap Rule JSON response: {"res":0,"res_message":"OK","debug_info":{"id-info":"999999","status":"ok"}}: timestamp=2022-11-14T23:06:31.883Z
2022-11-14T23:06:31.886Z [INFO] provider.terraform-provider-incapsula_v3.10.2: 2022/11/14 23:06:31 [DEBUG] Incapsula Delete Incap Rule JSON response: Unknown error. Contact support: timestamp=2022-11-14T23:06:31.885Z
2022-11-14T23:06:31.888Z [ERROR] vertex "incapsula_incap_rule.delete-server-response-header[\"testing.com\"] (destroy)" error: Error status code 500 from Incapsula service when deleting Incap Rule XXXXXX4 for Site ID 5XXXXXXX: Unknown error. Contact support
�[31m│�[0m �[0m�[1m�[31mError: �[0m�[0m�[1mError status code 500 from Incapsula service when deleting Incap Rule XXXXXX4 for Site ID 5XXXXXXX: Unknown error. Contact support�[0m
Panic output
No response
Expected output
incapsula_incap_rule.delete-xaspnet-response-header: Destruction complete after 1s
Actual output
╷
│ Error: Error status code 500 from Incapsula service when deleting Incap Rule XXXXXX for Site ID XXXXXXX: Unknown error. Contact support
│
│
╵
Steps to reproduce
create a imperva site in tf
create three or more incap rule for the above site in tf
apply the tf
confirm it's built
destroy the tf
error code should appear.
Additional factoids
Hey Team,
Creating the incap rules works 100% of the time
When I go do delete these three incap rules from the site via a destroy run, the destruction of the resource fails with the generic 500 error code.
From my testing I suspect it's a case of rate limiting from the imperva api as it will typically not delete two or one of the incap rules out of the three.
My actual use case leverages a csv file that holds multiple websites, this means that will fail on many of the rules being deleted as the each site is a three x multiplier.
I have a case open with Support 01627145 but I'm logging the case here to get some traction.
I'm happy to share the debug out file with someone via the imperva support team in a offline manner.
Thanks!
References
No response
The text was updated successfully, but these errors were encountered:
lachlanjholmes
changed the title
incapsula_incap_rule resource fails to delete on destroy run
[incapsula_incap_rule resource] fails to delete on destroy run
Nov 14, 2022
lachlanjholmes
changed the title
[incapsula_incap_rule resource] fails to delete on destroy run
[incapsula_incap_rule] resource fails to delete on destroy run
Nov 15, 2022
Confirmation
Terraform and Imperva provider version
Affected resource(s)
incapsula_incap_rule
Terraform configuration files
Debug output
I know you asked not to truncate the output but I can't easly risk giving you a full output file.
Panic output
No response
Expected output
Actual output
Steps to reproduce
Additional factoids
Hey Team,
Creating the incap rules works 100% of the time
When I go do delete these three incap rules from the site via a destroy run, the destruction of the resource fails with the generic 500 error code.
From my testing I suspect it's a case of rate limiting from the imperva api as it will typically not delete two or one of the incap rules out of the three.
My actual use case leverages a csv file that holds multiple websites, this means that will fail on many of the rules being deleted as the each site is a three x multiplier.
I have a case open with Support
01627145
but I'm logging the case here to get some traction.I'm happy to share the debug out file with someone via the imperva support team in a offline manner.
Thanks!
References
No response
The text was updated successfully, but these errors were encountered: