Fixed process of updating app on running instances
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m29s
All checks were successful
AWS Deploy on Push / build (push) Successful in 1m29s
This commit is contained in:
@@ -24,7 +24,8 @@ cdk deploy --app="python3 ${PWD}/app.py"
|
||||
|
||||
# Update application on running instances
|
||||
INSTANCE_IDS=$(aws ec2 describe-instances \
|
||||
--filters "Name=tag:Name,Values=IptvUpdater/IptvUpdaterInstance" \
|
||||
--region us-east-2 \
|
||||
--filters "Name=tag:Name,Values=IptvUpdaterStack/IptvUpdaterInstance" \
|
||||
"Name=instance-state-name,Values=running" \
|
||||
--query "Reservations[].Instances[].InstanceId" \
|
||||
--output text)
|
||||
|
||||
Reference in New Issue
Block a user