We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31fc7e0 commit f6afb54Copy full SHA for f6afb54
main.tf
@@ -112,7 +112,7 @@ data "archive_file" "index" {
112
resource "aws_lambda_function" "lambda" {
113
runtime = "python2.7"
114
filename = "${path.module}/files/index.zip"
115
- function_name = "ecs-instance-draining-on-scale-in"
+ function_name = "${var.autoscaling_group_name}-ecs-instance-draining-on-scale-in"
116
role = "${aws_iam_role.lambda.arn}"
117
handler = "index.lambda_handler"
118
0 commit comments