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

SNS Topic Subscription filter_policy #1088

Open
1 task done
citrocity opened this issue Apr 21, 2022 · 1 comment
Open
1 task done

SNS Topic Subscription filter_policy #1088

citrocity opened this issue Apr 21, 2022 · 1 comment
Labels
feature This issue/PR relates to a feature request needs_triage

Comments

@citrocity
Copy link

citrocity commented Apr 21, 2022

Summary

Similar issue was opened in the old project by @bcarpio ansible/ansible#51756 but was closed due to the migration of the project.

SNS Topic (sns_topic) in Ansible supports subscriptions but it doesn't seem to support subscription filter_policies.

https://docs.aws.amazon.com/sns/latest/dg/sns-message-filtering.html

Issue Type

Feature Idea

Component Name

community.aws.sns_topic

Additional Information

This feature is important so messages sent to the SNS topic subscriber (Lambda, SQS, etc..) are filtered at the AWS level before it reaches the code or queue subscribed to the topic.

  subscriptions:
    - endpoint: "{{ aws_lambda_result.configuration.function_arn}}"
       protocol: lambda
       filter_policy:
         attribute_a:
           - value_1
           - value_2
         attribute_b:
           - value_3

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 ansibullbot added feature This issue/PR relates to a feature request needs_triage labels Apr 21, 2022
@tremble tremble linked a pull request Jul 15, 2022 that will close this issue
abikouo pushed a commit to abikouo/community.aws that referenced this issue Oct 24, 2023
Fix key error in cloudtrail module

Signed-off-by: GomathiselviS [email protected]
SUMMARY


The PR fixes
"msg": "Failed to create Trail: Parameter validation failed:\nUnknown parameter in input: \"TagList\", must be one of: Name, S3BucketName, S3KeyPrefix, SnsTopicName, IncludeGlobalServiceEvents, IsMultiRegionTrail, EnableLogFileValidation, CloudWatchLogsLogGroupArn, CloudWatchLogsRoleArn, KmsKeyId, IsOrganizationTrail, TagsList"
ISSUE TYPE


Bugfix Pull Request

COMPONENT NAME

cloudtrail.py
ADDITIONAL INFORMATION

Reviewed-by: Alina Buzachis <None>
Reviewed-by: Gonéri Le Bouder <[email protected]>
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 needs_triage
Projects
None yet
Development

No branches or pull requests

2 participants