module "sns_topic" {
source = "./"
name = "test_topic"
display_name = "test"
}
Name | Version |
---|---|
terraform | ~> 0.12.24 |
aws | ~> 2.60 |
Name | Version |
---|---|
aws | ~> 2.60 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
application_failure_feedback_role_arn | IAM role for failure feedback | string |
null |
no |
application_success_feedback_role_arn | The IAM role permitted to receive success feedback for this topic | string |
null |
no |
application_success_feedback_sample_rate | Percentage of success to sample | string |
null |
no |
create_delivery_status_logging | Whether to create the SNS topic | bool |
true |
no |
create_sns_topic | Whether to create the SNS topic | bool |
true |
no |
delivery_policy | The SNS delivery policy | string |
null |
no |
display_name | The display name for the SNS topic | string |
null |
no |
http_failure_feedback_role_arn | IAM role for failure feedback | string |
null |
no |
http_success_feedback_role_arn | The IAM role permitted to receive success feedback for this topic | string |
null |
no |
http_success_feedback_sample_rate | Percentage of success to sample | string |
null |
no |
kms_master_key_id | The ID of an AWS-managed customer master key (CMK) for Amazon SNS or a custom CMK | string |
null |
no |
lambda_failure_feedback_role_arn | IAM role for failure feedback | string |
null |
no |
lambda_success_feedback_role_arn | The IAM role permitted to receive success feedback for this topic | string |
null |
no |
lambda_success_feedback_sample_rate | Percentage of success to sample | string |
null |
no |
name | The friendly name for the SNS topic. By default generated by Terraform. | string |
null |
no |
policy | The fully-formed AWS policy as JSON. For more information about building AWS IAM policy documents with Terraform | string |
null |
no |
sqs_failure_feedback_role_arn | IAM role for failure feedback | string |
null |
no |
sqs_success_feedback_role_arn | The IAM role permitted to receive success feedback for this topic | string |
null |
no |
sqs_success_feedback_sample_rate | Percentage of success to sample | string |
null |
no |
tags | Key-value map of resource tags | map(string) |
{} |
no |
Name | Description |
---|---|
arn | ARN of SNS topic |
- Add subscriber to SNS topic