File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,6 @@ locals {
23
23
AfterAllowTraffic = null
24
24
}
25
25
]) : null
26
-
27
- # Hacky workaround for bootstrap issue
28
- # is_initial = aws_lambda_alias.initial.function_version == aws_lambda_alias.live.function_version
29
26
}
30
27
31
28
# ==================== ALB ====================
@@ -317,12 +314,6 @@ resource "aws_iam_role_policy_attachment" "lambda_cloudwatch_attach" {
317
314
318
315
# ==================== AppSpec file ====================
319
316
320
- # data "aws_lambda_alias" "alias_for_old_version" {
321
- # count = local.is_initial ? 0 : 1
322
- # function_name = aws_lambda_function.api_lambda.function_name
323
- # name = "live" //TODO: Make local?
324
- # }
325
-
326
317
resource "local_file" "appspec_json" {
327
318
filename = " ${ path . cwd } /appspec.json"
328
319
content = jsonencode ({
You can’t perform that action at this time.
0 commit comments