You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Equinix Metal Project
v0.6.0
Experimental Github Action for creating Equinix Metal Projects.
💡 See also:
- equinix-metal-sweeper action
- equinix-metal-examples examples
Given a Equinix Metal User API Token, a new Project will be created, preconfigured with an SSH Key and API Key which can be used in subsequent actions.
Clean up the project with the Equinix Metal Sweeper Action.
See the Equinix Metal Actions Example for usage examples.
With | Environment variable | Description |
---|---|---|
userToken |
METAL_AUTH_TOKEN |
(required) A Equinix Metal User API Token |
projectName |
- | Name for the project, API key, and SSH Key. A generated name will be used if not supplied. |
organizationID |
- | Organization ID that the Project will be created under. If not supplied, the default organization for the API User will be used. |
Output Name | Environment Variable | Description |
---|---|---|
projectID |
METAL_PROJECT_ID |
a new Equinix Metal Project ID |
projectName |
METAL_PROJECT_NAME |
the generated (or supplied) name of the Equinix Metal Project |
projectToken |
METAL_PROJECT_TOKEN |
a new Equinix Metal Project API Token bound to this project |
projectSSHPrivateKeyFile |
METAL_SSH_PRIVATE_KEY_FILE |
a new SSH Private Key that can be used to authenticate to devices in this project |
projectSSHPublicKeyFile |
METAL_SSH_PUBLIC_KEY_FILE |
a new SSH Public Key that can be used to authenticate to devices in this project |
organizationID |
METAL_ORGANIZATION_ID |
ID of the Organization responsible for the project. |