Skip to content

Commit

Permalink
Remove echo when get instance_id
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaffieri committed Dec 23, 2024
1 parent 499d474 commit 1a1865d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/offline-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ jobs:
- name: Get instance-id and modify security group
run: |
INSTANCE_ID=$(aws ec2 describe-instances --query 'Reservations[*].Instances[*].InstanceId' --filters "Name=tag:Name,Values=gha_${{ github.run_id }}_assistant_test" --output text)
aws ec2 modify-instance-attribute --instance-id $INSTANCE_ID --groups sg-03c53339089a65829
aws ec2 modify-instance-attribute --instance-id $(aws ec2 describe-instances --query 'Reservations[*].Instances[*].InstanceId' --filters "Name=tag:Name,Values=gha_${{ github.run_id }}_assistant_test" --output text) --groups sg-03c53339089a65829
- name: Execute offline installation playbook
run: |
Expand Down

0 comments on commit 1a1865d

Please sign in to comment.