[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: cdn: Remove unused berlin-mirror-certificate.
From: |
Chris Marusich |
Subject: |
02/02: cdn: Remove unused berlin-mirror-certificate. |
Date: |
Sat, 4 May 2019 05:03:36 -0400 (EDT) |
marusich pushed a commit to branch master
in repository maintenance.
commit 8accbde744713a38bdb6e96dffbf0567d942daea
Author: Chris Marusich <address@hidden>
Date: Sat May 4 01:40:26 2019 -0700
cdn: Remove unused berlin-mirror-certificate.
The berlin-mirror-certificate ACM certificate is safe to delete, since
it was only used by the berlin-mirror CloudFront distribution, which
has already been removed.
* cdn/terraform/acm.tf (berlin-mirror-certificate): Remove it.
---
cdn/terraform/acm.tf | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/cdn/terraform/acm.tf b/cdn/terraform/acm.tf
index 3d920bf..dbeb664 100644
--- a/cdn/terraform/acm.tf
+++ b/cdn/terraform/acm.tf
@@ -23,21 +23,6 @@
# distribution, we must create it in the us-east-1 region. See:
# https://docs.aws.amazon.com/acm/latest/userguide/acm-services.html
#
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cnames-and-https-requirements.html
-resource "aws_acm_certificate" "berlin-mirror-certificate" {
- domain_name = "ci.guix.info"
- validation_method = "DNS"
- # The AWS provider documentation recommends setting
- # create_before_destroy to true in a lifecycle block. We probably
- # won't need this, since we don't currently plan to replace the
- # existing certificate using Terraform (ACM will just rotate it for
- # us automatically), but it doesn't hurt to include this here.
- lifecycle {
- create_before_destroy = true
- }
-}
-
-# Like berlin-mirror-certificate, but for charlie distribution. All
-# comments about berlin-mirror-certificate apply to this one, too.
resource "aws_acm_certificate" "charlie-certificate" {
domain_name = "ci.guix.gnu.org"
validation_method = "DNS"