mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
[AWS] ses rule set module for inbound email processing (#42781)
* Add module ses_rule_set for Amazon SES * Update behaviours and naming to be consistent with other aws_ses_ modules. * Add global lock around tests using active rule sets to prevent intermittent test failures. * Fix deletion of rule sets so that we don't inactivate the active rule set when force deleting an inactive rule set.
This commit is contained in:
parent
b759862daa
commit
b70d5d9aee
11 changed files with 1030 additions and 1 deletions
|
@ -234,7 +234,14 @@
|
|||
"ses:GetIdentityPolicies",
|
||||
"ses:PutIdentityPolicy",
|
||||
"ses:DeleteIdentityPolicy",
|
||||
"ses:ListIdentityPolicies"
|
||||
"ses:ListIdentityPolicies",
|
||||
"ses:SetIdentityFeedbackForwardingEnabled",
|
||||
"ses:ListReceiptRuleSets",
|
||||
"ses:DescribeReceiptRuleSet",
|
||||
"ses:DescribeActiveReceiptRuleSet",
|
||||
"ses:SetActiveReceiptRuleSet",
|
||||
"ses:CreateReceiptRuleSet",
|
||||
"ses:DeleteReceiptRuleSet"
|
||||
],
|
||||
"Resource": [
|
||||
"*"
|
||||
|
|
|
@ -31,6 +31,28 @@
|
|||
"Action": "waf:*",
|
||||
"Effect": "Allow",
|
||||
"Resource": "*"
|
||||
},
|
||||
{
|
||||
"Sid": "AllowListingCloudwatchLogs",
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"logs:DescribeLogGroups"
|
||||
],
|
||||
"Resource": [
|
||||
"arn:aws:logs:{{aws_region}}:{{aws_account}}:log-group:*"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Sid": "AllowModifyingCloudwatchLogs",
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"logs:CreateLogGroup",
|
||||
"logs:PutRetentionPolicy",
|
||||
"logs:DeleteLogGroup"
|
||||
],
|
||||
"Resource": [
|
||||
"arn:aws:logs:{{aws_region}}:{{aws_account}}:log-group:ansible-testing*"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue