From 79c31d60439edca8ff08ad61a9617003cb339e10 Mon Sep 17 00:00:00 2001 From: Dev Singh Date: Sun, 21 Jul 2024 18:32:12 -0400 Subject: [PATCH] move key --- cloudformation/main.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cloudformation/main.yml b/cloudformation/main.yml index 2c1e6aa..e17e5e3 100644 --- a/cloudformation/main.yml +++ b/cloudformation/main.yml @@ -36,6 +36,11 @@ Conditions: IsProd: !Equals [!Ref RunEnvironment, 'prod'] Mappings: + General: + dev: + LogRetentionDays: 7 + prod: + LogRetentionDays: 30 ApiGwConfig: dev: ApiCertificateArn: arn:aws:acm:us-east-1:427040638965:certificate/63ccdf0b-d2b5-44f0-b589-eceffb935c23 # DO NOT CHANGE (account constant) @@ -46,7 +51,6 @@ Mappings: - http://localhost:5173 AadValidClientId: 251efa82-f589-42e1-9ebb-e214a4f40a0f KindeValidClientId: 9dfcd7977da347f3ab55fbb909a4d5cf - LogRetentionDays: 7 prod: ApiCertificateArn: arn:aws:acm:us-east-1:298118738376:certificate/6142a0e2-d62f-478e-bf15-5bdb616fe705 # DO NOT CHANGE HostedZoneId: Z05246633460N5MEB9DBF # DO NOT CHANGE (account constant) @@ -55,7 +59,6 @@ Mappings: - https://resumes.acm.illinois.edu AadValidClientId: 5178a6b1-f46d-40a2-b550-1389b9316446 KindeValidClientId: fdacad7aea554755844105f5606da0f6 - LogRetentionDays: 30 EnvironmentToCidr: dev: SecurityGroupIds: @@ -91,7 +94,7 @@ Resources: Parameters: LambdaFunctionName: !Ref LambdaFunctionName AuthLambdaFunctionName: !Ref AuthLambdaFunctionName - LogRetentionDays: !FindInMap [ApiGwConfig, !Ref RunEnvironment, LogRetentionDays] + LogRetentionDays: !FindInMap [General, !Ref RunEnvironment, LogRetentionDays] ResumeBookDynamoTables: Type: AWS::Serverless::Application