Skip to content

Commit

Permalink
FFM-9321: Perform release for feature flag (#688)
Browse files Browse the repository at this point in the history
* Add changelog
* Update documentation
  • Loading branch information
ribeirophillipe committed Sep 13, 2023
1 parent 5fd4ff1 commit 86b66b0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .changelog/684.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:enhancement
harness_platform_feature_flag - Add support to add targets with feature flags
```
4 changes: 2 additions & 2 deletions docs/resources/platform_feature_flag.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ resource "harness_platform_feature_flag" "mymultivariateflag" {
}
add_target_rules {
variation = "enabled"
variation = "Enabled"
targets = ["targets1", "targets2"]
}
}
Expand Down Expand Up @@ -153,7 +153,7 @@ resource "harness_platform_feature_flag" "mymultivariateflag" {
add_target_groups_rules {
group_name = "group_name"
variation = "enabled"
variation = "Enabled"
distribution = {
bucketBy = "identifier",
variations = [
Expand Down
6 changes: 3 additions & 3 deletions examples/resources/harness_platform_feature_flag/resource.tf
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ resource "harness_platform_feature_flag" "mymultivariateflag" {
}

add_target_rules {
variation = "enabled"
targets = ["targets1", "targets2"]
variation = "Enabled"
targets = ["target1", "targets2"]
}
}

Expand Down Expand Up @@ -138,7 +138,7 @@ resource "harness_platform_feature_flag" "mymultivariateflag" {

add_target_groups_rules {
group_name = "group_name"
variation = "enabled"
variation = "Enabled"
distribution = {
variations = [
{
Expand Down

0 comments on commit 86b66b0

Please sign in to comment.