Skip to content

Commit

Permalink
fix: correct pass through of yaml config through CDK_STACK_CONFIG var…
Browse files Browse the repository at this point in the history
…iable
  • Loading branch information
danellecline committed May 17, 2024
1 parent 57f6b2c commit a914349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdk/fastapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def __init__(
super().__init__(scope, id, **kwargs)

# Import project config
with open("config.yml", 'r') as stream:
with open(process.env.CDK_STACK_CONFIG, 'r') as stream:
config = yaml.safe_load(stream)

# Cluster capacity
Expand Down

0 comments on commit a914349

Please sign in to comment.