Skip to content

Commit 0e4c4ea

Browse files
docs(lambda_alias): clarify traffic splitting limit for additional_version_weights
1 parent 04717cc commit 0e4c4ea

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

website/docs/cdktf/python/r/lambda_alias.html.markdown

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ class MyConvertedCode(TerraformStack):
5959
name="staging",
6060
routing_config=LambdaAliasRoutingConfig(
6161
additional_version_weights={
62-
"1": 0.1,
63-
"3": 0.2
62+
"1": 0.1
6463
}
6564
)
6665
)

website/docs/r/lambda_alias.html.markdown

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ resource "aws_lambda_alias" "example" {
3737
routing_config {
3838
additional_version_weights = {
3939
"1" = 0.1 # Send 10% of traffic to version 1
40-
"3" = 0.2 # Send 20% of traffic to version 3
41-
# Remaining 70% goes to version 2 (the primary version)
40+
# Remaining 90% goes to version 2 (the primary version)
4241
}
4342
}
4443
}

0 commit comments

Comments
 (0)