Skip to content

Commit

Permalink
Fix percentage rollout weight in example (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldhenry authored Mar 16, 2021
1 parent 84bd635 commit 8f86292
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/feature_flags/targeting_example.tf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resource "launchdarkly_feature_flag_environment" "prereq_flag" {
# The rules block of this resource determines that the 0-index variation ("string1") will
# be served to users whose names start with the letters a-e.
# flag_fallthrough describes the default to serve if none of the other rules apply:
# in this case, the percentage of users who will be served each variation (must sum to 1000000).
# in this case, the percentage of users who will be served each variation (must sum to 100000).
# Use of the bucket_by attribute ensures that all users with the same company will be served the
# same variation within the rollout buckets.
resource "launchdarkly_feature_flag_environment" "user_targeting_flag" {
Expand Down Expand Up @@ -62,4 +62,4 @@ resource "launchdarkly_feature_flag_environment" "user_targeting_flag" {
rollout_weights = [60000, 30000, 10000]
bucket_by = "company"
}
}
}

0 comments on commit 8f86292

Please sign in to comment.