-
-
Notifications
You must be signed in to change notification settings - Fork 343
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 Feedback role is broken #204
Comments
This issue has been automatically marked as stale because it has been open 30 days |
In https://github.com/terraform-aws-modules/terraform-aws-notify-slack/blob/v6.0.0/iam.tf ; the policy for CloudWatch Logs is passed to data "aws_iam_policy_document" "sns_feedback" {
count = local.create_sns_feedback_role ? 1 : 0
statement {
sid = "PermitDeliveryStatusMessagesToCloudWatchLogs"
effect = "Allow"
actions = [
"logs:CreateLogGroup",
"logs:CreateLogStream",
"logs:PutLogEvents",
"logs:PutMetricFilter",
"logs:PutRetentionPolicy"
]
resources = [
"*"
]
}
}
resource "aws_iam_role" "sns_feedback_role" {
count = local.create_sns_feedback_role ? 1 : 0
name = var.sns_topic_feedback_role_name
description = var.sns_topic_feedback_role_description
path = var.sns_topic_feedback_role_path
force_detach_policies = var.sns_topic_feedback_role_force_detach_policies
permissions_boundary = var.sns_topic_feedback_role_permissions_boundary
assume_role_policy = data.aws_iam_policy_document.sns_feedback[0].json ## << HERE
tags = merge(var.tags, var.sns_topic_feedback_role_tags)
} |
This issue has been automatically marked as stale because it has been open 30 days |
Not stale |
This issue has been automatically marked as stale because it has been open 30 days |
This issue was automatically closed because of stale in 10 days |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Description
When enabling
enable_sns_topic_delivery_status_logs = true
, I get the following error:Versions
Module version [Required]: 6.0.0
Terraform version:
1.5.0
Provider version(s):
Reproduction Code [Required]
The text was updated successfully, but these errors were encountered: