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 can't get this module to locate an existing SSL policy defined by Terraform.
Expected behavior
I have a Terraform resource that is creating a security policy to meet compliance requirements. I should be able to use this SSL policy with this module.
Observed behavior
This module seems to forcibly look for an SSL policy at a different URL, and therefore fails. I have tried referencing the resource URL with .id, .self_link, and .name. None of them work. The same error is returned:
Error: Error setting Backend Service security policy: googleapi: Error 400: Invalid value for field 'resource': '*** "securityPolicy": "projects/(redacted)/global/securityPolicies/minimum-tls"***'. The given security policy does not exist., invalid
...but I still got the same error, which indicated it was looking for the resource in a completely different area of GCP as above. I am able to select minimum-tis in the console for the frontend configuration after the load balancer is deployed.
The text was updated successfully, but these errors were encountered:
TL;DR
I can't get this module to locate an existing SSL policy defined by Terraform.
Expected behavior
I have a Terraform resource that is creating a security policy to meet compliance requirements. I should be able to use this SSL policy with this module.
Observed behavior
This module seems to forcibly look for an SSL policy at a different URL, and therefore fails. I have tried referencing the resource URL with .id, .self_link, and .name. None of them work. The same error is returned:
The policy does exist.
Terraform Configuration
Additional information
I tried to force the issue by specifically setting security_policy as such:
...but I still got the same error, which indicated it was looking for the resource in a completely different area of GCP as above. I am able to select minimum-tis in the console for the frontend configuration after the load balancer is deployed.
The text was updated successfully, but these errors were encountered: