resource "aws_sns_topic" "techdb_lambda_alerts" {
name = "techdb_lambda_alerts"
}
resource "aws_sns_topic_subscription" "techdb_email_alerts_sub" {
topic_arn = "${aws_sns_topic.techdb_lambda_alerts.arn}"
protocol = "sms"
endpoint = "${var.alerting_phone_list}"
depends_on = ["aws_sns_topic.techdb_lambda_alerts"]
}
* module.lambda.aws_sns_topic_subscription.techdb_email_alerts_sub: 1 error(s) occurred:
* aws_sns_topic_subscription.techdb_email_alerts_sub: Error creating SNS topic: InvalidParameter: Invalid parameter: Invalid protocol type: sms
status code: 400, request id: 4eef312e-9376-5b9f-ace5-644cb5e8f3b4
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/hashicorp/terraform/issues
IRC: #terraform-tool on Freenode
---
You received this message because you are subscribed to the Google Groups "Terraform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to terraform-too...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/4b41c31d-5390-458e-bc5e-e9309a2ec0a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/terraform-tool/CAHfA9vD3r-N5oVGREHQmXQ%2BJHV81vozc02Vd9-w%3DOGBebd9%2B2g%40mail.gmail.com.