tf/cache: import the existing fastly TLS subscription
zimbatm committed
Aug 30, 2021 at 21:25 UTC
0942389c9e6da139a568eab7ada894175e5abafd
1 file changed
+6
terraform/cache.tf
+6
@@ -250,3 +250,9 @@ resource "fastly_service_v1" "cache" {
250
type = "fetch"
251
}
252
}
253
+
254
+resource "fastly_tls_subscription" "cache" {
255
+ domains = [for domain in fastly_service_v1.cache.domain : domain.name]
256
+ configuration_id = local.fastly_tls12_sni_configuration_id
257
+ certificate_authority = "globalsign"
258
+}