diff --git a/README.md b/README.md index 2edb279..d216e3d 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,9 @@ No modules. | [delivery\_policy](#input\_delivery\_policy) | The SNS delivery policy | `string` | `null` | no | | [display\_name](#input\_display\_name) | The display name for the SNS topic | `string` | `null` | no | | [fifo\_topic](#input\_fifo\_topic) | Boolean indicating whether or not to create a FIFO (first-in-first-out) topic | `bool` | `false` | no | +| [firehose\_failure\_feedback\_role\_arn](#input\_firehose\_failure\_feedback\_role\_arn) | IAM role for failure feedback | `string` | `null` | no | +| [firehose\_success\_feedback\_role\_arn](#input\_firehose\_success\_feedback\_role\_arn) | The IAM role permitted to receive success feedback for this topic | `string` | `null` | no | +| [firehose\_success\_feedback\_sample\_rate](#input\_firehose\_success\_feedback\_sample\_rate) | Percentage of success to sample | `number` | `null` | no | | [http\_failure\_feedback\_role\_arn](#input\_http\_failure\_feedback\_role\_arn) | IAM role for failure feedback | `string` | `null` | no | | [http\_success\_feedback\_role\_arn](#input\_http\_success\_feedback\_role\_arn) | The IAM role permitted to receive success feedback for this topic | `string` | `null` | no | | [http\_success\_feedback\_sample\_rate](#input\_http\_success\_feedback\_sample\_rate) | Percentage of success to sample | `string` | `null` | no | diff --git a/main.tf b/main.tf index 9b4ed72..ae17a9a 100644 --- a/main.tf +++ b/main.tf @@ -10,6 +10,9 @@ resource "aws_sns_topic" "this" { application_success_feedback_role_arn = var.application_success_feedback_role_arn application_success_feedback_sample_rate = var.application_success_feedback_sample_rate application_failure_feedback_role_arn = var.application_failure_feedback_role_arn + firehose_success_feedback_role_arn = var.firehose_success_feedback_role_arn + firehose_success_feedback_sample_rate = var.firehose_success_feedback_sample_rate + firehose_failure_feedback_role_arn = var.firehose_failure_feedback_role_arn http_success_feedback_role_arn = var.http_success_feedback_role_arn http_success_feedback_sample_rate = var.http_success_feedback_sample_rate http_failure_feedback_role_arn = var.http_failure_feedback_role_arn diff --git a/variables.tf b/variables.tf index 87c684c..b3885a2 100644 --- a/variables.tf +++ b/variables.tf @@ -52,6 +52,24 @@ variable "application_failure_feedback_role_arn" { default = null } +variable "firehose_success_feedback_role_arn" { + description = "The IAM role permitted to receive success feedback for this topic" + type = string + default = null +} + +variable "firehose_success_feedback_sample_rate" { + description = "Percentage of success to sample" + type = number + default = null +} + +variable "firehose_failure_feedback_role_arn" { + description = "IAM role for failure feedback" + type = string + default = null +} + variable "http_success_feedback_role_arn" { description = "The IAM role permitted to receive success feedback for this topic" type = string