Skip to content
Snippets Groups Projects
Commit 73b535c7 authored by nimrod's avatar nimrod
Browse files

Remove some Twilio leftovers.

Should have removed them when changed to MessageBird.
parent a04bc656
Branches
No related tags found
No related merge requests found
...@@ -3,14 +3,6 @@ variable "messagebird_access_key" { ...@@ -3,14 +3,6 @@ variable "messagebird_access_key" {
sensitive = true sensitive = true
} }
# It would have been nicer to buy the phone number with Terraform and the
# Twilio provider. unfortunately the sign up for the provider is closed right
# now. So instead the friendly name, that's something.
variable "twilio_from_number" {
default = "AmILive"
description = "Twilio from phone number."
}
resource "aws_lambda_function" "sms_notify" { resource "aws_lambda_function" "sms_notify" {
# checkov:skip=CKV_AWS_50 # checkov:skip=CKV_AWS_50
# checkov:skip=CKV_AWS_116 # checkov:skip=CKV_AWS_116
...@@ -25,7 +17,7 @@ resource "aws_lambda_function" "sms_notify" { ...@@ -25,7 +17,7 @@ resource "aws_lambda_function" "sms_notify" {
s3_object_version = local.payload_object_version s3_object_version = local.payload_object_version
package_type = "Zip" package_type = "Zip"
handler = "sms_notify.handler" handler = "sms_notify.handler"
description = "Send SMS message notification using Twilio." description = "Send SMS message notification using MessageBird."
memory_size = var.memory_size memory_size = var.memory_size
reserved_concurrent_executions = -1 reserved_concurrent_executions = -1
timeout = var.timeout timeout = var.timeout
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment