Skip to content

Commit

Permalink
ci: add env from secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
montoyaobeso committed Jun 10, 2024
1 parent 5f280d5 commit 9f9dad2
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f9dad2

Please sign in to comment.