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
2024-11-15T16:54:51.207+0100 [INFO] provider.terraform-provider-incapsula_v3.27.1: 2024/11/15 16:54:51 [INFO] Updating Incapsula site for siteID: REDACTED: timestamp="2024-11-15T16:54:51.206+0100"
2024-11-15T16:54:52.233+0100 [INFO] provider.terraform-provider-incapsula_v3.27.1: 2024/11/15 16:54:52 [DEBUG] Incapsula update site JSON response: {"res":1,"res_message":"Unexpected error","debug_info":{"id-info":"999999","domain_dns":"This site has SANs with domain validation other than dns"}}: timestamp="2024-11-15T16:54:52.232+0100"
2024-11-15T16:54:52.233+0100 [INFO] provider.terraform-provider-incapsula_v3.27.1: 2024/11/15 16:54:52 [ERROR] Could not update Incapsula site param (domain_validation) with value (dns) for site_id: REDACTED Error from Incapsula service when updating site for siteID REDACTED: {"res":1,"res_message":"Unexpected error","debug_info":{"id-info":"999999","domain_dns":"This site has SANs with domain validation other than dns"}}: timestamp="2024-11-15T16:54:52.233+0100"
2024-11-15T16:54:52.235+0100 [ERROR] provider.terraform-provider-incapsula_v3.27.1: Response contains error diagnostic: @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:55 diagnostic_detail="" diagnostic_severity=ERROR diagnostic_summary="Error from Incapsula service when updating site for siteID REDACTED: {"res":1,"res_message":"Unexpected error","debug_info":{"id-info":"999999","domain_dns":"This site has SANs with domain validation other than dns"}}" tf_proto_version=5.3 tf_provider_addr=provider tf_req_id=757cf64c-c78b-4ffe-b309-3879b46e666e @module=sdk.proto tf_rpc=ApplyResourceChange tf_resource_type=incapsula_site timestamp="2024-11-15T16:54:52.235+0100"
2024-11-15T16:54:52.244+0100 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2024-11-15T16:54:52.244+0100 [ERROR] vertex "incapsula_site.testing" error: Error from Incapsula service when updating site for siteID REDACTED: {"res":1,"res_message":"Unexpected error","debug_info":{"id-info":"999999","domain_dns":"This site has SANs with domain validation other than dns"}}
╷
│ Error: Error from Incapsula service when updating site for siteID REDACTED: {"res":1,"res_message":"Unexpected error","debug_info":{"id-info":"999999","domain_dns":"This site has SANs with domain validation other than dns"}}
│
│ with incapsula_site.testing,
│ on main.tf line 25, in resource "incapsula_site" "testing":
│ 25: resource "incapsula_site" "testing" {
│
╵
2024-11-15T16:54:52.248+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-11-15T16:54:52.249+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/imperva/incapsula/3.27.1/linux_amd64/terraform-provider-incapsula_v3.27.1 id=1487
2024-11-15T16:54:52.249+0100 [DEBUG] provider: plugin exited
Panic output
No response
Expected output
The expected output is for the terraform apply method to end correctly.
Actual output
The terraform apply method exited the execution because it generated an Error.
Steps to reproduce
Create a site on whatever domain with a wildcard account certificate using the incapsula_site resource. I.e: "www.domain.com"
Validate the certificate so that its state goes to Approved/Released.
Create a site on that exact same domain using a subdomain covered by the wildcard certificate using the incapsula_site resource. I.e: "thisisadummysubdomain.domain.com"
Face the Error.
Obviously this only works when forcing the SSL checks for certificates to be generated and released automatically. Therefore force_ssl and domain_validation must be set.
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered:
Confirmation
Terraform and Imperva provider version
Terraform v1.9.8 on linux_amd64
Providers required by configuration:
.
└── provider[registry.terraform.io/imperva/incapsula] 3.27.1
Affected resource(s)
incapsula_site
Terraform configuration files
Debug output
2024-11-15T16:54:51.207+0100 [INFO] provider.terraform-provider-incapsula_v3.27.1: 2024/11/15 16:54:51 [INFO] Updating Incapsula site for siteID: REDACTED: timestamp="2024-11-15T16:54:51.206+0100"
2024-11-15T16:54:52.233+0100 [INFO] provider.terraform-provider-incapsula_v3.27.1: 2024/11/15 16:54:52 [DEBUG] Incapsula update site JSON response: {"res":1,"res_message":"Unexpected error","debug_info":{"id-info":"999999","domain_dns":"This site has SANs with domain validation other than dns"}}: timestamp="2024-11-15T16:54:52.232+0100"
2024-11-15T16:54:52.233+0100 [INFO] provider.terraform-provider-incapsula_v3.27.1: 2024/11/15 16:54:52 [ERROR] Could not update Incapsula site param (domain_validation) with value (dns) for site_id: REDACTED Error from Incapsula service when updating site for siteID REDACTED: {"res":1,"res_message":"Unexpected error","debug_info":{"id-info":"999999","domain_dns":"This site has SANs with domain validation other than dns"}}: timestamp="2024-11-15T16:54:52.233+0100"
2024-11-15T16:54:52.235+0100 [ERROR] provider.terraform-provider-incapsula_v3.27.1: Response contains error diagnostic: @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:55 diagnostic_detail="" diagnostic_severity=ERROR diagnostic_summary="Error from Incapsula service when updating site for siteID REDACTED: {"res":1,"res_message":"Unexpected error","debug_info":{"id-info":"999999","domain_dns":"This site has SANs with domain validation other than dns"}}" tf_proto_version=5.3 tf_provider_addr=provider tf_req_id=757cf64c-c78b-4ffe-b309-3879b46e666e @module=sdk.proto tf_rpc=ApplyResourceChange tf_resource_type=incapsula_site timestamp="2024-11-15T16:54:52.235+0100"
2024-11-15T16:54:52.244+0100 [DEBUG] State storage *statemgr.Filesystem declined to persist a state snapshot
2024-11-15T16:54:52.244+0100 [ERROR] vertex "incapsula_site.testing" error: Error from Incapsula service when updating site for siteID REDACTED: {"res":1,"res_message":"Unexpected error","debug_info":{"id-info":"999999","domain_dns":"This site has SANs with domain validation other than dns"}}
╷
│ Error: Error from Incapsula service when updating site for siteID REDACTED: {"res":1,"res_message":"Unexpected error","debug_info":{"id-info":"999999","domain_dns":"This site has SANs with domain validation other than dns"}}
│
│ with incapsula_site.testing,
│ on main.tf line 25, in resource "incapsula_site" "testing":
│ 25: resource "incapsula_site" "testing" {
│
╵
2024-11-15T16:54:52.248+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF"
2024-11-15T16:54:52.249+0100 [INFO] provider: plugin process exited: plugin=.terraform/providers/registry.terraform.io/imperva/incapsula/3.27.1/linux_amd64/terraform-provider-incapsula_v3.27.1 id=1487
2024-11-15T16:54:52.249+0100 [DEBUG] provider: plugin exited
Panic output
No response
Expected output
The expected output is for the terraform apply method to end correctly.
Actual output
The terraform apply method exited the execution because it generated an Error.
Steps to reproduce
Obviously this only works when forcing the SSL checks for certificates to be generated and released automatically. Therefore force_ssl and domain_validation must be set.
Additional factoids
No response
References
No response
The text was updated successfully, but these errors were encountered: