Skip to content

Commit

Permalink
Add: shared secret for Game Coordinator
Browse files Browse the repository at this point in the history
  • Loading branch information
TrueBrain committed Jul 12, 2021
1 parent 77b2493 commit 2c97873
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openttd/stack/application/game_coordinator.py
Expand Up @@ -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,
Expand Down Expand Up @@ -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),
},
)

Expand Down

0 comments on commit 2c97873

Please sign in to comment.