An open API service indexing awesome lists of open source software.

https://github.com/stack-spot/cloud-control-plane-bootstrap

Github Action to download Stackspot cloud control plane bootstrap module.
https://github.com/stack-spot/cloud-control-plane-bootstrap

all-os github-actions stackspot

Last synced: about 1 year ago
JSON representation

Github Action to download Stackspot cloud control plane bootstrap module.

Awesome Lists containing this project

README

          

# cloud-control-plane-bootstrap

Github Action to download Stackspot cloud control plane bootstrap terraform module.

_**Note**: This action is supported on all runners operating systems (`ubuntu`, `macos`, `windows`)_

## 📚 Usage

### Requirements

To get the account keys (`CLIENT_ID`, `CLIENT_KEY` and `CLIENT_REALM`), please login using a **ADMIN** user on the [StackSpot Portal](https://stackspot.com), and generate new keys at [https://stackspot.com/en/settings/access-token](https://stackspot.com/en/settings/access-token).

### Use Case

```yaml
steps:
- name: Checkout repository
uses: actions/checkout@v4.2.1
- name: Download control plane bootstrap ZIP file
uses: stack-spot/cloud-control-plane-bootstrap@v1
with:
CLIENT_KEY: ${{ secrets.CLIENT_KEY }}
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_REALM: ${{ secrets.CLIENT_REALM }}
VERSION: "latest" # Optional
```

After running the action, the control plane bootstrap ZIP file will then be available at path:

`$GITHUB_WORKSPACE/control_plane_bootstrap_${{ inputs.VERSION }}.zip`

_Example: $GITHUB_WORKSPACE/control_plane_bootstrap_latest.zip_

* * *

## ▶️ Action Inputs

Field | Mandatory | Default Value | Observation
------------ | ------------ | ------------- | -------------
**CLIENT_ID** | YES | N/A | [StackSpot](https://stackspot.com/en/settings/access-token) Client ID.
**CLIENT_KEY** | YES | N/A |[StackSpot](https://stackspot.com/en/settings/access-token) Client KEY.
**CLIENT_REALM** | YES | N/A |[StackSpot](https://stackspot.com/en/settings/access-token) Client Realm.
**VERSION** | NO | `latest` | Bootstrap version.

* * *

## License

[Apache License 2.0](https://github.com/stack-spot/cloud-deploy-action/blob/main/LICENSE)