From 9f9dad2b418e1534688bf00dc9a327b7f68acfdc Mon Sep 17 00:00:00 2001 From: Abraham Montoya Date: Mon, 10 Jun 2024 12:56:17 -0700 Subject: [PATCH] ci: add env from secrets --- template.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/template.yml b/template.yml index 54bff39..003bccd 100644 --- a/template.yml +++ b/template.yml @@ -106,19 +106,10 @@ Resources: BuildCommand: "pip install -r requirements.txt" StartCommand: "python server.py" Port: 8080 - RuntimeEnvironmentVariables: + RuntimeEnvironmentSecrets: - - Name: BUCKET_NAME - Value: !Ref BucketName - - - Name: SECRET_NAME - Value: !Ref SecretName - - - Name: STAGE - Value: !Ref Stage - - - Name: PORT - Value: 8080 + Name: app-runner-secrets + Value: "arn:aws:secretsmanager:us-west-2:339713191966:secret:stori-app-runner-secrets-6Zk2vI" InstanceConfiguration: Cpu: 1 vCPU Memory: 2 GB