You must be logged in to view saved presets
Creates an alias named 'my_alias' for a specified AWS Lambda function version, with routing configuration to another version.
resource "aws_lambda_alias" "test_lambda_alias" {
description = "a sample description"
function_name = "aws_lambda_function.lambda_function_test.arn"
function_version = "1"
name = "my_alias"
routing_config {
additional_version_weights = {
2 = 0.5
}
}
}