Skip to content

Commit

Permalink
add script for output
Browse files Browse the repository at this point in the history
  • Loading branch information
BEW111 committed Aug 18, 2024
1 parent 00d09e9 commit 9ae1b4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions infrastructure/backend/create_client_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ENV_FILE="../../client/.env"
ALB_DNS=$(terraform output -raw alb_dns_name)
echo "REACT_APP_BACKEND_URL=http://$ALB_DNS" > $ENV_FILE
Empty file removed infrastructure/client/main.tf
Empty file.

0 comments on commit 9ae1b4e

Please sign in to comment.