Skip to content

Commit

Permalink
Merge pull request #56 from showwin/team-name-fix
Browse files Browse the repository at this point in the history
Handle a team name containing white space
  • Loading branch information
showwin authored Dec 5, 2024
2 parents b752b4c + 3ebf2bb commit 13c2730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contest/terraform/module/ec2.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ ${join("\n", [for player_in_team in var.teams[each.value] : "curl https://github
${join("\n", [for admin in var.admins : "curl https://github.com/${admin}.keys >> /home/ishocon/.ssh/authorized_keys"])}
chown -R ishocon:ishocon /home/ishocon/.ssh
useradd -u 1001 -g 1001 -o -N -d /home/ishocon -s /bin/bash ${each.value}
echo "export BENCH_TEAM_NAME=${each.value}" >> /home/ishocon/.bashrc
echo "export BENCH_SCOREBOARD_APIGW_URL=${aws_apigatewayv2_stage.scoreboard.invoke_url}" >> /home/ishocon/.bashrc
echo 'export BENCH_TEAM_NAME="${each.value}"' >> /home/ishocon/.bashrc
echo 'export BENCH_SCOREBOARD_APIGW_URL="${aws_apigatewayv2_stage.scoreboard.invoke_url}"' >> /home/ishocon/.bashrc
EOF

Expand Down

0 comments on commit 13c2730

Please sign in to comment.