AWS SNS/SQS

To setup AWS SNS/SQS for pub/sub, you create a component of type . See this guide on how to create and apply a pubsub configuration.

Warning

The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.

In order to use localstack with your pubsub binding, you need to provide the configuration in the component metadata. The endpoint is unncessary when running against production AWS.

See Authenticating to AWS for information about authentication-related attributes

In order to run in AWS, you should create an IAM user with permissions to the SNS and SQS services. Use the AWS account ID and AWS account secret and plug them into the accessKey and secretKey in the component metadata using Kubernetes secrets and secretKeyRef.