Skip to content

Have startaws wait until instance starts #3

@benthayer

Description

@benthayer

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions