[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: cdn: Move SNS configuration into its own file.
From: |
Chris Marusich |
Subject: |
01/01: cdn: Move SNS configuration into its own file. |
Date: |
Mon, 29 Apr 2019 02:09:38 -0400 (EDT) |
marusich pushed a commit to branch master
in repository maintenance.
commit d15e6576eb0e528a4f61d8e8f00a51686bda39b3
Author: Chris Marusich <address@hidden>
Date: Sun Apr 28 22:43:31 2019 -0700
cdn: Move SNS configuration into its own file.
* cdn/terraform/acm.tf (guix-billing-alarms): Move this resource...
* cdn/terraform/sns.tf: into this new file.
---
cdn/terraform/acm.tf | 10 ----------
cdn/terraform/sns.tf | 9 +++++++++
2 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/cdn/terraform/acm.tf b/cdn/terraform/acm.tf
index 19b6e74..7786cdb 100644
--- a/cdn/terraform/acm.tf
+++ b/cdn/terraform/acm.tf
@@ -35,13 +35,3 @@ resource "aws_acm_certificate" "berlin-mirror-certificate" {
create_before_destroy = true
}
}
-
-# SNS
-
-# Email subscriptions cannot be managed via Terraform. Therefore, any
-# email subscriptions must be configured manually. See:
-# https://www.terraform.io/docs/providers/aws/r/sns_topic_subscription.html
-#
https://docs.aws.amazon.com/sns/latest/dg/sns-getting-started.html#SubscribeTopic
-resource "aws_sns_topic" "guix-billing-alarms" {
- name = "guix-billing-alarms"
-}
diff --git a/cdn/terraform/sns.tf b/cdn/terraform/sns.tf
new file mode 100644
index 0000000..0cdf65b
--- /dev/null
+++ b/cdn/terraform/sns.tf
@@ -0,0 +1,9 @@
+# SNS
+
+# Email subscriptions cannot be managed via Terraform. Therefore, any
+# email subscriptions must be configured manually. See:
+# https://www.terraform.io/docs/providers/aws/r/sns_topic_subscription.html
+#
https://docs.aws.amazon.com/sns/latest/dg/sns-getting-started.html#SubscribeTopic
+resource "aws_sns_topic" "guix-billing-alarms" {
+ name = "guix-billing-alarms"
+}