-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refractor terraform file structure and make it more modulaized and fl…
…exiable; add script to upload .env to s3 bucket; update task-definition.json template
- Loading branch information
1 parent
6d20841
commit 5eafc1f
Showing
62 changed files
with
898 additions
and
692 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
ecs_env_s3_bucket_name='price-dashboard-ecs-env' | ||
|
||
project_path=$(dirname "$PWD") | ||
s3_bucket_name_url="s3://$ecs_env_s3_bucket_name" | ||
|
||
for i in `ls $project_path/services/*/.env` ;do | ||
aws s3 cp $i $s3_bucket_name_url/${i##*services/} | ||
done |
Oops, something went wrong.