Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to create sns subscription with lambda protocol #2192

Open
HuyDangSotatek opened this issue Oct 16, 2024 · 0 comments
Open

Comments

@HuyDangSotatek
Copy link

Describe the bug
Error when trying to create sns subscription with lambda protocol through argocd although there is no RawMessageDelivery in my manifest

InvalidParameter: Invalid parameter: Delivery protocol [lambda] does not support raw message delivery.\n\tstatus code: 400

Steps to reproduce
Use argocd to apply this

apiVersion: sns.services.k8s.aws/v1alpha1
kind: Subscription
metadata:
  annotations:
    argocd.argoproj.io/sync-wave: '2'
    services.k8s.aws/deletion-policy: retain
  labels:
    argocd.argoproj.io/instance: Label
  name: SubscriptionName
  namespace: NameSpace
spec:
  endpoint: >-
    arn:aws:lambda:region:xxx:function:FunctionName
  filterPolicy: |-
    {
      "tags": [
        "TAG"
      ]
    }
  filterPolicyScope: MessageAttributes
  protocol: lambda
  topicRef:
    from:
      name: TopicName

Expected outcome
Expected no errors

  • Kubernetes version
  • Using EKS (yes/no), if so version? 1.30
  • AWS service targeted (S3, RDS, etc.) : SNS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant