ianb-mp/AWS EC2 Manager
Launch, execute command, or destroy an AWS EC2 instance.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mode | Operation mode: start, command, stop | yes | — |
| ec2-image-id | AMI ID for the instance (required for start mode) | no | — |
| subnet-id | Subnet ID for the instance (required for start mode) | no | — |
| security-group-id | Security group ID for the instance (required for start mode) | no | — |
| iam-role-name | IAM role name for the instance profile (optional for start mode) | no | — |
| ec2-instance-type | Instance type (e.g., t3.micro) (optional for start mode) | no | t3.micro |
| user-data | User data script to configure the instance (optional for start mode) | no | — |
| tag-specifications | Tag specifications for the instance in JSON format (optional for start mode) | no | — |
| ec2-instance-id | EC2 instance ID (required for command and stop modes) | no | — |
| command | Command to execute on the instance (required for command mode) | no | — |
| command-max-wait-secs | Time to wait for command to complete (optional for command mode) | no | 300 |
Outputs
| name | description |
|---|---|
| ec2-instance-id | The ID of the EC2 instance that was started. |
| command-id | The ID of command invocation. |