We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da9331a commit 3037059Copy full SHA for 3037059
modules/cloudflare/certificate/main.tf
@@ -30,14 +30,18 @@ resource "time_rotating" "rotation" {
30
rotation_days = 365 - 90 # requested_validity - 90 days for rotation
31
}
32
33
+resource "time_static" "rotation" {
34
+ rfc3339 = time_rotating.rotation.rfc3339
35
+}
36
+
37
resource "cloudflare_origin_ca_certificate" "this" {
38
csr = tls_cert_request.this.cert_request_pem
39
hostnames = [ var.hostname ]
40
request_type = "origin-rsa"
41
requested_validity = 365
42
43
lifecycle {
- replace_triggered_by = [time_rotating.rotation.id]
44
+ replace_triggered_by = [time_static.rotation]
45
46
47
0 commit comments