@continuous-excellence/ze-great-dashboard-aws
v0.13.8
Published
AWS Lambda and CloudFormation adapter for Ze Great Dashboard.
Maintainers
Readme
Ze Great Dashboard on AWS
@continuous-excellence/ze-great-dashboard-aws packages a board as a private AWS Lambda. It
includes the Lambda runtime, matching browser client, deployment CLI, and CloudFormation templates.
This deployment path is intended for teams that already operate AWS and have a protected gateway such as API Gateway or an ALB. It deliberately does not create a public endpoint, choose an authentication policy, or manage secret values.
If you are evaluating the dashboard, start with the repository's local setup. You do not need AWS to try it.
What you need
- Node.js 22 or newer, npm, the AWS CLI, and
jq. - An AWS administrator for the one-time bootstrap.
- A pre-existing central GitHub OIDC provider and a protected GitHub Environment if GitHub Actions will deploy the dashboard.
- A consumer-owned gateway that can privately invoke Lambda and enforce your access policy.
The included deployment works out of the box with public GitHub repositories and HTTP endpoints
that do not require credentials. For private GitHub sources, SecretReference is the ARN of one
consumer-owned Secrets Manager JSON map or Parameter Store SecureString (for example,
{"GITHUB_TOKEN":"github_pat_…"}). The runtime resolves configured token_env names only at
Lambda cold start and never exposes token values to the browser, API responses, logs,
CloudFormation parameters, or Lambda environment. The two added AWS SDK clients provide
IAM-authenticated GetSecretValue and decrypted GetParameter support in the bundled Lambda, at
the cost of their bundled code and one cold-start request when private sources are configured.
Deployment map
- An administrator creates the artifact bucket and restricted deployment roles using the AWS bootstrap guide.
- The application owner writes
board.yaml, packages the Lambda, and deploys its private CloudFormation stack using the deployment guide. - The consumer connects the returned
ServerFunctionArnto its protected gateway. - GitHub Actions can repeat the package-and-deploy step after the administrator configures the two reviewed role ARNs.
The normal application workflow
Pin an exact package version in the repository that owns the deployment:
npm install --save-exact @continuous-excellence/ze-great-dashboard-awsAppend @version when installing a previously reviewed release rather than the current one.
After bootstrap is complete, the recurring workflow is only:
npm exec -- ze-great-dashboard-aws parameters \
--bootstrap-config dashboard-bootstrap.json \
--output aws-dashboard-parameters.json
npm exec -- ze-great-dashboard-aws doctor \
--parameters aws-dashboard-parameters.json \
--region us-east-1
npm exec -- ze-great-dashboard-aws package \
--board-config board.yaml \
--parameters aws-dashboard-parameters.json \
--output aws-dashboard-releasepackage writes the complete release-specific parameters.json and machine-readable
deployment.json alongside the ZIP and template. The deployment guide covers executing the emitted
S3 upload and CloudFormation commands, gateway handoff, and CI example.
Changing board.yaml or upgrading the pinned package uses this same path.
Package boundaries
| The package owns | You own | | --- | --- | | Board validation and Lambda packaging | Board content and source access | | Compatible immutable browser assets | The protected gateway and authentication | | Private application CloudFormation template | AWS account administration | | Restricted bootstrap templates | Secret values and the credential-map ARN | | Read-only preflight and consistency checks | Reviewing and executing AWS changes |
Bootstrap commands never execute mutating AWS operations. They produce plans, parameters, and
commands for an administrator to review and run explicitly. bootstrap check is the named
read-only live diagnostic used before routine deployments.
