benthayer / benthayer/aws-tools
Have startaws wait until instance starts
- Dominant language
- Shell
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
This would be a simple loop that checks to see if the result of `awsip` is null
Current output of startaws
```
{
"StartingInstances": [
{
"CurrentState": {
"Code": 0,
"Name": "pending"
},
"InstanceId": "there would be stuff here",
"PreviousState": {
"Code": 80,
"Name": "stopped"
}
}
]
}
```
New output
```
$ startaws large
Previous state: stopped
Current state: pending
Waiting...
Waiting...
Waiting...
Waiting...
Instance large started with ip "127.0.0.1"
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the `startaws` and `awsip` entry points, then run `startaws large` to observe the current behavior. Implement the requested wait until `awsip` returns an address, with status messages matching the example; done means the command reports the instance IP after it starts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, shell
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100