Skip to content

Support configuring AWS configuration values on SpinApp for SQS triggered apps  #362

@kate-goldenring

Description

@kate-goldenring

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: spinframework/spin-trigger-sqs#52

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions