File tree Expand file tree Collapse file tree 4 files changed +12
-183
lines changed Expand file tree Collapse file tree 4 files changed +12
-183
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11version : " 0.2"
22ignorePaths :
3- - cloudformation /**
3+ - terraform /**
44 - Makefile
55 - .github/**
66dictionaryDefinitions : []
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ resource "random_password" "origin_verify_key" {
6363
6464// TEMPORARY LINKRY KV IMPORT
6565import {
66- to = aws_cloudfront_key_value_store. test
66+ to = aws_cloudfront_key_value_store. linkry_kv
6767 id = " ${ var . ProjectId } -cloudfront-linkry-kv"
6868}
6969
@@ -72,6 +72,14 @@ resource "aws_cloudfront_key_value_store" "linkry_kv" {
7272}
7373//
7474
75+ module "alarms" {
76+ source = " ../../modules/alarms"
77+ priority_sns_arn = var. PrioritySNSAlertArn
78+ resource_prefix = var. ProjectId
79+ main_cloudfront_distribution_id = module. frontend . main_cloudfront_distribution_id
80+ standard_sns_arn = var. GeneralSNSAlertArn
81+ }
82+
7583module "lambdas" {
7684 source = " ../../modules/lambdas"
7785 ProjectId = var. ProjectId
@@ -91,8 +99,8 @@ module "frontend" {
9199 CoreCertificateArn = var. CoreCertificateArn
92100 CorePublicDomain = var. CorePublicDomain
93101 IcalPublicDomain = var. IcalPublicDomain
94- LinkryKvArn = aws_cloudfront_key_value_store. linkry_kv . arn
95102 LinkryPublicDomain = var. LinkryPublicDomain
103+ LinkryKvArn = aws_cloudfront_key_value_store. linkry_kv . arn
96104}
97105
98106// This section last: moved records into modules
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ async function handler(event) {
220220 statusCode: 301,
221221 statusDescription: 'Found',
222222 headers: {
223- 'location': { value: "https://core.acm.illinois.edu /linkry" }
223+ 'location': { value: "https://${ var . CorePublicDomain } /linkry" }
224224 }
225225 }
226226 }
You can’t perform that action at this time.
0 commit comments