aplr/Create Google Compute Engine VM
Creates an on-demand Google Cloud Compute Engine VM instance.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| name_prefix | Prefix for the name of the VM. The name will be suffixed with information retrieved from the current github actions run context to ensure uniqueness. | yes | — |
| project_id | ID of the Google Cloud project. If provided, this project will be used to create the VM. Otherwise, the default project configured with the gcloud CLI will be used. If no default project is configured, the action will fail. | no | — |
| zone | Zone in which the VM should be created. If not provided, the zone configured with the gcloud CLI will be used. If no zone is configured, the action will fail. | no | — |
| source_instance_template | Name or pattern of the instance template to use for creating the VM. It has to exist in the same project as the VM prior to running this action. | yes | — |
| auto_delete | Whether the VM should be deleted automatically after the current github actions run finishes. | no | true |
| retry_on_failure | Whether provisioning an instance should be retried on failure. If set to true, the action will retry up to `retry_count` times before failing. | no | false |
| retry_count | Number of times to retry provisioning an instance on failure. | no | 10 |
Outputs
no outputs