truemark/AWS EC2 Run Instance
Creates and runs an EC2 instance
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| subnet-id | Subnet ID to launch the instance in | yes | — |
| security-group-id | Security group to apply to the EC2 instance | yes | — |
| image-id | Image ID to use for the EC2 instance. Also accepts default-arm64 and default-amd64 options | yes | — |
| instance-type | Instance type to use for the EC2 instance | yes | — |
| instance-profile | Instance profile to use for the EC2 instance | no | — |
| volume-size | Volume size in GB to use for the EC2 instance | no | 8 |
| associate-public-ip-address | Associate a public IP address to the EC2 instance | no | true |
| tags | Tags to apply to the EC2 instance | no | — |
| user-data | Startup commands to run on the EC2 instance | no | — |
| instance-shutdown-behavior | Shutdown behavior for the EC2 instance. This may be stop or terminate. | no | terminate |
| region | AWS region to use for the EC2 instance | yes | — |
| key-name | SSH key name to use for the EC2 instance | no | — |
| terminate-on-post | Terminate the EC2 instance after the post step | no | true |
| name | Name of the EC2 instance to be added to the tags | no | ${{ github.event.repository.name }}-${{github.run_number}} |
Outputs
| name | description |
|---|---|
| instance-id | The instance ID of the EC2 instance |