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 551ff5e commit 2c37819Copy full SHA for 2c37819
infra/modules/aws/lambda/main.tf
@@ -116,6 +116,8 @@ resource "aws_appautoscaling_target" "pc_target" {
116
resource_id = "function:${local.lambda_name}:${var.environment}"
117
scalable_dimension = "lambda:function:ProvisionedConcurrency"
118
service_namespace = "lambda"
119
+
120
+ depends_on = [aws_lambda_alias.live]
121
}
122
123
resource "aws_appautoscaling_policy" "pc_policy" {
0 commit comments