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
Site is cached by Imperva proxies under a 24 hour grace period.
Subsequent requests to re-create the site within that period failed with:
Error parsing add site JSON response for domain example.com: invalid character '<' looking for beginning of value
Steps to reproduce
Deploy a site
Destroy the site
Re-deploy the site (within 24 hours)
Additional factoids
Looks like we're not providing ability to pass api param ignore_grace_period and therefore default behaviour is being applied to cache the site config:
Confirmation
Terraform and Imperva provider version
3.27.1
Affected resource(s)
incapsula_site
Terraform configuration files
Debug output
Panic output
No response
Expected output
incapsula_site
https://registry.terraform.io/providers/imperva/incapsula/latest/docs/resources/siteActual output
Site is cached by Imperva proxies under a 24 hour grace period.
Subsequent requests to re-create the site within that period failed with:
Steps to reproduce
Additional factoids
Looks like we're not providing ability to pass api param
ignore_grace_period
and therefore default behaviour is being applied to cache the site config:terraform-provider-incapsula/incapsula/client_site.go
Line 352 in 921e4fe
doc: https://docs.imperva.com/bundle/cloud-application-security/page/cloud-v1-api-definition.htm
api:
/api/prov/v1/sites/delete
can't see it being added in v3 client either, looks like a wrapper around it
suggestion the default behaviour is added as a feature to the provider?
References
No response
The text was updated successfully, but these errors were encountered: