spinframework / spinframework/spin-operator

Support configuring AWS configuration values on SpinApp for SQS triggered apps

Open
#362 1 comment 0 reactions 0 assignees View on GitHub

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_REGION
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.