Skip to content
Permalink
Browse files
Add: shared secret for Game Coordinator
  • Loading branch information
TrueBrain committed Jul 12, 2021
1 parent 77b2493 commit 2c978735f71f121b5e296cda7e7af52b5fa56aee
Showing with 2 additions and 0 deletions.
  1. +2 −0 openttd/stack/application/game_coordinator.py
@@ -43,6 +43,7 @@ def __init__(self, scope: Construct, id: str, *, deployment: Deployment, policy:
database = 2

sentry_dsn = parameter_store.add_secure_string(f"/GameCoordinator/{deployment.value}/SentryDSN").parameter
shared_secret = parameter_store.add_secure_string(f"/GameCoordinator/{deployment.value}/SharedSecret").parameter

self.container = ECSHTTPSContainer(
self,
@@ -75,6 +76,7 @@ def __init__(self, scope: Construct, id: str, *, deployment: Deployment, policy:
},
secrets={
"GAME_COORDINATOR_SENTRY_DSN": Secret.from_ssm_parameter(sentry_dsn),
"GAME_COORDINATOR_SHARED_SECRET": Secret.from_ssm_parameter(shared_secret),
},
)

0 comments on commit 2c97873

Please sign in to comment.