community icon indicating copy to clipboard operation
community copied to clipboard

Error when trying to create sns subscription with lambda protocol

Open HuyDangSotatek opened this issue 1 year ago • 4 comments

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

HuyDangSotatek avatar Oct 16 '24 03:10 HuyDangSotatek

Issues go stale after 180d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 60d of inactivity and eventually close. If this issue is safe to close now please do so with /close. Provide feedback via https://github.com/aws-controllers-k8s/community. /lifecycle stale

ack-bot avatar Apr 14 '25 07:04 ack-bot

/remove-lifecycle stale

michaelhtm avatar Apr 14 '25 19:04 michaelhtm

Issues go stale after 180d of inactivity. Mark the issue as fresh with /remove-lifecycle stale. Stale issues rot after an additional 60d of inactivity and eventually close. If this issue is safe to close now please do so with /close. Provide feedback via https://github.com/aws-controllers-k8s/community. /lifecycle stale

ack-bot avatar Oct 11 '25 22:10 ack-bot

Stale issues rot after 60d of inactivity. Mark the issue as fresh with /remove-lifecycle rotten. Rotten issues close after an additional 60d of inactivity. If this issue is safe to close now please do so with /close. Provide feedback via https://github.com/aws-controllers-k8s/community. /lifecycle rotten

ack-bot avatar Dec 10 '25 23:12 ack-bot