-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
19 lines (14 loc) · 877 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
aws-infra:
terraform -chdir=infrastructure/ init -input=false
terraform -chdir=infrastructure/ apply --auto-approve
test-actions-ecrpush:
act -s AWS_ACCESS_KEY_ID=$$(aws configure get aws_access_key_id) -s AWS_SECRET_ACCESS_KEY=$$(aws configure get aws_secret_access_key)
set-actions-secrets:
gh secret set --app actions --body $$(aws configure get aws_secret_access_key) aws_secret_access_key
gh secret set --app actions --body $$(aws configure get aws_access_key_id) aws_access_key_id
down-cluster-service:
aws ecs update-service --desired-count 0 --cluster "observation_tracker_api_cluster" --service "observation_tracker_api_service"
up-cluster-service:
aws ecs update-service --cluster "observation_tracker_api_cluster" --service "observation_tracker_api_service" --force-new-deployment
localstack-permission:
chmod +x infrastructure/init_localstack_infra.sh