Skip to content

Commit

Permalink
correction de main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
SylvainArd committed Jul 6, 2024
1 parent f6e38b4 commit 89b2c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
IMAGE_TAG: ${{ github.sha }}
SSH_KEY_PATH: ./private_key
run: |
INSTANCE_IDS=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=backend-instance-*" --query "Reservations[*].Instances[*].InstanceId" --output text)
INSTANCE_IDS=$(aws ec2 describe-instances --filters "Name=tag:Name,Values=backend-instance-*" "Name=instance-state-name,Values=running" --query "Reservations[*].Instances[*].InstanceId" --output text)
echo "Instance IDs: $INSTANCE_IDS"
for INSTANCE_ID in $INSTANCE_IDS; do
echo "Checking instance $INSTANCE_ID"
Expand Down

0 comments on commit 89b2c8b

Please # to comment.