Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: n support list ec2 and s start session to ec2 #325

Merged
merged 2 commits into from
Feb 23, 2025

Conversation

keidarcy
Copy link
Owner

@keidarcy keidarcy commented Feb 22, 2025

InstanceArn=$(aws ecs list-container-instances --cluster $ClusterName | jq -r '.containerInstanceArns[0]')
InstanceId=$(aws ecs describe-container-instances --cluster $ClusterName --container-instances $InstanceArn | jq -r '.containerInstances[0].ec2InstanceId')
aws ssm start-session --target $InstanceId

List Instances and shell using ssm start-session from cluster and task view.

@keidarcy keidarcy self-assigned this Feb 22, 2025
@keidarcy keidarcy changed the title feat: support list ec2 and start session to ec2 feat: n support list ec2 and s start session to ec2 Feb 23, 2025
@keidarcy keidarcy merged commit 58368e7 into master Feb 23, 2025
1 check passed
@keidarcy keidarcy deleted the feat/support-list-ec2-instances branch February 23, 2025 00:01
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request Feb 26, 2025
This MR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [keidarcy/e1s](https://github.com/keidarcy/e1s) | patch | `v1.0.44` -> `v1.0.45` |

MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot).

**Proposed changes to behavior should be submitted there as MRs.**

---

### Release Notes

<details>
<summary>keidarcy/e1s (keidarcy/e1s)</summary>

### [`v1.0.45`](https://github.com/keidarcy/e1s/releases/tag/v1.0.45)

[Compare Source](keidarcy/e1s@v1.0.44...v1.0.45)

#### Changelog

-   [`af367d1`](keidarcy/e1s@af367d1) doc: support mise installation ([#&#8203;324](keidarcy/e1s#324))
-   [`58368e7`](keidarcy/e1s@58368e7) feat: `n` support list ec2 and `s` start session to ec2 ([#&#8203;325](keidarcy/e1s#325))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this MR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box

---

This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODAuMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4MC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant