Github Action to download Stackspot cloud control plane bootstrap terraform module.
Note: This action is supported on all runners operating systems (ubuntu
, macos
, windows
)
To get the account keys (CLIENT_ID
, CLIENT_KEY
and CLIENT_REALM
), please login using a ADMIN user on the StackSpot Portal, and generate new keys at https://stackspot.com/en/settings/access-token.
steps:
- name: Checkout repository
uses: actions/[email protected]
- 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
Field | Mandatory | Default Value | Observation |
---|---|---|---|
CLIENT_ID | YES | N/A | StackSpot Client ID. |
CLIENT_KEY | YES | N/A | StackSpot Client KEY. |
CLIENT_REALM | YES | N/A | StackSpot Client Realm. |
VERSION | NO | latest |
Bootstrap version. |