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
The CNAME record value that needs to be created to validate SSL.
Actual output
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Invalid template interpolation value
│
│ on ../../../modules/imperva/base/resources.tf line 29, in output "ssl_dns":
│ 29: value = var.setup ? "${incapsula_site.site.dns_cname_record_name} CNAME ${incapsula_site.site.domain_verification}." : ""
│ ├────────────────
│ │ incapsula_site.site.domain_verification is null
│
│ The expression result is null. Cannot include a null value in a string template.
Steps to reproduce
Create site via terraform using cname DNS verification
, I can see how the domain_verification value gets set when using DNS (TXT) verification, but can't see anything for CNAME verification.
On a related note, it would be really useful if the value was always there but empty no matter what type of verification you're using, rather than not existing at all unless you're using DNS verification.
References
No response
The text was updated successfully, but these errors were encountered:
Confirmation
Terraform and Imperva provider version
Terraform 1.8.2
Imperva 3.25.0
Affected resource(s)
incapsula_site.domain_verification
Terraform configuration files
Debug output
I've not managed to get debug outputs.
Panic output
No response
Expected output
The CNAME record value that needs to be created to validate SSL.
Actual output
Steps to reproduce
Additional factoids
Looking at
terraform-provider-incapsula/incapsula/resource_site.go
Line 471 in 1265e78
On a related note, it would be really useful if the value was always there but empty no matter what type of verification you're using, rather than not existing at all unless you're using DNS verification.
References
No response
The text was updated successfully, but these errors were encountered: