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

Add support for publishing SNS messages on fifo topics #1718

Open
1 task done
Pascal-Architrave opened this issue Feb 15, 2023 · 2 comments
Open
1 task done

Add support for publishing SNS messages on fifo topics #1718

Pascal-Architrave opened this issue Feb 15, 2023 · 2 comments
Labels
feature This issue/PR relates to a feature request module module needs_triage plugins plugin (any type)

Comments

@Pascal-Architrave
Copy link
Contributor

Pascal-Architrave commented Feb 15, 2023

Summary

I am trying to publish a message to a fifo SNS topic, but it fails because it is missing the required MessageGroupId parameter. Unfortunately the parameter is not available in the sns module.
Adding the possibility to add this parameter would be helpful for everyone, because it would be possible to publish messages to FIFO SNS topics, too.

Issue Type

Feature Idea

Component Name

sns

Additional Information

    - name: "Send message to fifo sns topic"
      community.aws.sns:
          msg: "Some message"
          topic: "some_sns_topic"
          subject: "Some subject"
          message_group_id: "foo-bar-1"

Link to boto3 documentation: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sns.html?highlight=sns#SNS.Client.publish

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot
Copy link

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module needs_triage plugins plugin (any type) labels Feb 15, 2023
softwarefactory-project-zuul bot pushed a commit that referenced this issue Mar 14, 2023
sns: Add parameters for fifo topics

SUMMARY
Implements #1718. Adding message_group_id and message_deduplication_id to support publishing of messages to fifo topics.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
sns

Reviewed-by: Mark Chappell
patchback bot pushed a commit that referenced this issue Mar 14, 2023
sns: Add parameters for fifo topics

SUMMARY
Implements #1718. Adding message_group_id and message_deduplication_id to support publishing of messages to fifo topics.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
sns

Reviewed-by: Mark Chappell
(cherry picked from commit b1b67a2)
softwarefactory-project-zuul bot pushed a commit that referenced this issue Mar 14, 2023
[PR #1733/b1b67a25 backport][stable-5] sns: Add parameters for fifo topics

This is a backport of PR #1733 as merged into main (b1b67a2).
SUMMARY
Implements #1718. Adding message_group_id and message_deduplication_id to support publishing of messages to fifo topics.
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
sns

Reviewed-by: Mark Chappell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request module module needs_triage plugins plugin (any type)
Projects
None yet
Development

No branches or pull requests

2 participants