Skip to content

Commit

Permalink
Remove env EC2_INSTANCES_ALLOWED_TYPES from special handling (#914)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuryHrytsuk authored Jan 3, 2025
1 parent 8c0bae8 commit 6f90f13
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion scripts/deployments/compose_stack_yml.bash
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ envsubst < .env.nosub > .env
cp .env ..
cp ../../docker-compose.yml ./docker-compose.simcore.yml

unset EC2_INSTANCES_ALLOWED_TYPES
"$repo_basedir"/scripts/docker-stack-config.bash -e .env docker-compose.simcore.yml docker-compose.deploy.yml > ../../stack.yml
#
#
Expand Down
2 changes: 1 addition & 1 deletion services/simcore/envsubst_escape_dollar_sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
for line in lines:
if len(line) > 0 and len(line.lstrip()) > 0:
if line.lstrip()[0] != "#": # Ignore commented lines
if "$" in line and not line.startswith("EC2_INSTANCES_ALLOWED_TYPES"):
if "$" in line:
ESCAPED_LINE = "".join(
[
x + "$${empty_var}"
Expand Down

0 comments on commit 6f90f13

Please sign in to comment.