Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Am I live
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shore
Am I live
Commits
73b535c7
Commit
73b535c7
authored
2 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Remove some Twilio leftovers.
Should have removed them when changed to MessageBird.
parent
a04bc656
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sms-notify.tf
+1
-9
1 addition, 9 deletions
sms-notify.tf
with
1 addition
and
9 deletions
sms-notify.tf
+
1
−
9
View file @
73b535c7
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment