spinframework / spinframework/spin-operator
Support configuring AWS configuration values on SpinApp for SQS triggered apps
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 289
- Forks
- 34
- PR merge metrics
- No merged PRs in 30d
Description
The Spin SQS Trigger expects the following AWS configuration variables to be set in the environment at start up:
AWS_DEFAULT_REGIONAWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYAWS_SESSION_TOKEN
We could support configuring these by updating the SpinApp CRD to contain an sqs section:
spec:
createDeployment: true
deploymentConfig:
runtimeClassName: wasmtime-spin-v2
sqs:
- aws_default_region: us-west-2
- aws_secret_access_key:
valueFrom:
secretKeyRef:
name: "my-super-secret"
key: "turso-token"
Alternatively, the trigger could be updated to get these values from runtime config instead: https://github.com/fermyon/spin-trigger-sqs/issues/52
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the SpinApp CRD and the Spin SQS Trigger issue linked in the description. Decide whether AWS values belong in the CRD or runtime configuration, then verify that all four variables, including SecretKeyRef-based values, reach SQS-triggered deployments. Done means the chosen configuration path is documented and tested for deployment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, go, kubernetes
- Domain
- cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100