Skip to content

Commit

Permalink
prepare 2.6.1 release (#94)
Browse files Browse the repository at this point in the history
* prepare release (#80) (#188)

* Do not allow 0% segment rule weights (#189)

* Prevent users from setting a 0% rollout

* Update changelog

* Fix bug

* Fix flag trigger creation panic (#190)

* Backmerge/release 2.4.1 (#191)

* Backmerge v2.4.1

* fix merge conflicts

* Add Slack webhooks to audit_log_subscription (#192)

* backmerge v2.5.0 (#193)

* Use jennifer to generate audit log subscription configs (#194)

* Run terraform provider acceptance tests daily and notify of failures (#196)

* Update changelog branch (#195)

* [ sc-143291] update autogenerated audit_log_subscription configs  (#197)

* update autogenerated configs to account for hideMemberDetails change to DDog integration

* update changelog

* Add test

* Update CHANGELOG.md

Co-authored-by: Henry Barrow <[email protected]>

Co-authored-by: Henry Barrow <[email protected]>

* Increase checkpoint-api.harhicorp.com timeout to 10s (#198)

* Updated destination tests to use random env keys to avoid env conflict errors

* [sc 148065] add approvals bypass to terraform docs (#200)

* update docs to mention bypassing approval requests

* update changelog

* typo

* Apply suggestions from code review

Co-authored-by: Henry Barrow <[email protected]>

Co-authored-by: Henry Barrow <[email protected]>

* Backmerge/release 2.6.0 (#201)

* prepare release (#80)

* Prepare 2.4.1 release (#82)

* prepare 2.5.0 release (#87)

Co-authored-by: Isabelle Miller <[email protected]>

* prepare 2.6.0 release (#91)

* prepare release (#80) (#188)

* Do not allow 0% segment rule weights (#189)

* Prevent users from setting a 0% rollout

* Update changelog

* Fix bug

* Fix flag trigger creation panic (#190)

* Backmerge/release 2.4.1 (#191)

* Backmerge v2.4.1

* fix merge conflicts

* Add Slack webhooks to audit_log_subscription (#192)

* backmerge v2.5.0 (#193)

* Use jennifer to generate audit log subscription configs (#194)

* Run terraform provider acceptance tests daily and notify of failures (#196)

* Update changelog branch (#195)

* [ sc-143291] update autogenerated audit_log_subscription configs  (#197)

* update autogenerated configs to account for hideMemberDetails change to DDog integration

* update changelog

* Add test

* Update CHANGELOG.md

Co-authored-by: Henry Barrow <[email protected]>

Co-authored-by: Henry Barrow <[email protected]>

* Increase checkpoint-api.harhicorp.com timeout to 10s (#198)

* Updated destination tests to use random env keys to avoid env conflict errors

* [sc 148065] add approvals bypass to terraform docs (#200)

* update docs to mention bypassing approval requests

* update changelog

* typo

* Apply suggestions from code review

Co-authored-by: Henry Barrow <[email protected]>

Co-authored-by: Henry Barrow <[email protected]>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <[email protected]>
Co-authored-by: Henry Barrow <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

Co-authored-by: Isabelle Miller <[email protected]>
Co-authored-by: Henry Barrow <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

* fix doc issues (#202)

* [sc-149869] roll back documentation changes regarding (#203)

* Revert "[sc 148065] add approvals bypass to terraform docs (#200)"

This reverts commit e722f06.

* update changelog

* update changelog

* prepare 2.6.1 release

* Merge remote-tracking branch public/main into release-2.6.1

* update changelog

* update readme

Co-authored-by: Isabelle Miller <[email protected]>
Co-authored-by: Henry Barrow <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>
  • Loading branch information
5 people authored Apr 14, 2022
1 parent 21e3e7d commit 9f560bd
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 15 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
## [2.5.1] (April 7, 2022)
## [2.6.1] (April 12, 2022)

NOTES:

- Removed callout to `bypassRequiredApproval` action in documentation pending further development.
- Fix formatting in some documentation

## [2.6.0] (April 7, 2022)

ENHANCEMENTS:

Expand Down
4 changes: 0 additions & 4 deletions examples/v2/feature_flags/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ This example contains three config files:
- [flag_types_example.tf](./flag_types_example.tf), which provides examples of the different ways you can define binary (boolean) and multivariate (string, numeric, and JSON) flag variations using the `launchdarkly_feature_flag` resource
- [targeting_example.tf](./targeting_example.tf), which provides complex examples of user targeting using the `launchdarkly_feature_flag_environment` resource. For more detail on user targeting, see the [official LaunchDarkly documentation](https://docs.launchdarkly.com/home/managing-flags/targeting-users).

### Bypassing approval requests

If [approval requests are required](https://docs.launchdarkly.com/home/feature-workflows/environment-approvals#configuring-approval-settings) in the feature flag's environment, you can bypass them by adding the [`bypassRequiredApproval` action](https://docs.launchdarkly.com/home/feature-workflows/environment-approvals#bypassing-required-approvals) to the role associated with the LaunchDarkly access token or service token used by the provider.

### Run

Init your working directory from the CL with `terraform init` and then apply the changes with `terraform apply`. You should see output resembling the following:
Expand Down
2 changes: 0 additions & 2 deletions examples/v2/feature_flags/setup.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ resource "launchdarkly_project" "tf_flag_examples" {
key = "example-env"
color = "ababab"
# You can configure approval settings per environment to control who can apply flag changes
# Your Terraform user can be configured with a custom role to allow it to bypass approval requirements
# See https://docs.launchdarkly.com/home/feature-workflows/environment-approvals#configuring-approval-settings
approval_settings {
min_num_approvals = 2
required = true
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/flag_trigger.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ data "launchdarkly_flag_trigger" "example" {
- `id` - (Required) The Terraform trigger ID. This ID takes the following format: `<project_key>/<env_key>/<flag_key>/<trigger_id>`. The unique trigger ID can be found in your saved trigger URL:

```
https://app.launchdarkly.com/webhook/triggers/<THIS_IS_YOUR_TRIGGER_ID>/aff25a53-17d9-4112-a9b8-12718d1a2e79
https://app.launchdarkly.com/webhook/triggers/THIS_IS_YOUR_TRIGGER_ID/aff25a53-17d9-4112-a9b8-12718d1a2e79
```

Please note that if you did not save this upon creation of the resource, you will have to reset it to get a new value, which can cause breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/relay_proxy_configuration.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resource "launchdarkly_relay_proxy_configuration" "example" {
- `id` - (Required) The Relay Proxy configuration's unique 24 character ID. The unique relay proxy ID can be found in the relay proxy edit page URL, which you can locate by clicking the three dot menu on your relay proxy item in the UI and selecting 'Edit configuration':

```
https://app.launchdarkly.com/settings/relay/<THIS_IS_YOUR_RELAY_PROXY_ID>/edit
https://app.launchdarkly.com/settings/relay/THIS_IS_YOUR_RELAY_PROXY_ID/edit
```

## Attribute Reference
Expand Down
4 changes: 2 additions & 2 deletions website/docs/index.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ Please refer to [Terraform's documentation on upgrading to v0.13](https://www.te

The provider supports the following arguments:

- `access_token` - (Optional) The [API access token](https://docs.launchdarkly.com/docs/api-access-tokens) or [service token](https://docs.launchdarkly.com/home/account-security/api-access-tokens#service-tokens) used to authenticate with LaunchDarkly. You can also set this with the `LAUNCHDARKLY_ACCESS_TOKEN` environment variable. You must provide either `access_token` or `oauth_token`.
If you want to grant the terraform provider the ability to make flag changes without requesting approval in an environment that is configured to require approvals, you can add the [`bypassRequiredApproval` action](https://docs.launchdarkly.com/home/feature-workflows/environment-approvals#bypassing-required-approvals) to the service token's custom role. To learn about custom role actions, read [Custom role actions](https://docs.launchdarkly.com/home/members/role-actions).
- `access_token` - (Optional) The [personal access token](https://docs.launchdarkly.com/api-access-tokens) or [service token](https://docs.launchdarkly.com/home/account-security/api-access-tokens#service-tokens) used to authenticate with LaunchDarkly. You can also set this with the `LAUNCHDARKLY_ACCESS_TOKEN` environment variable. You must provide either `access_token` or `oauth_token`.


- `oauth_token` - (Optional) An OAuth V2 token you use to authenticate with LaunchDarkly. You can also set this with the `LAUNCHDARKLY_OAUTH_TOKEN` environment variable. You must provide either `access_token` or `oauth_token`.

Expand Down
6 changes: 4 additions & 2 deletions website/docs/r/flag_trigger.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,15 @@ In addition to the above arguments, this resource supports the following compute
LaunchDarkly flag triggers can be imported using the following syntax:

```
$ terraform import launchdarkly_flag_trigger.example <project_key>/<env_key>/<flag_key>/<trigger_id>
$ terraform import launchdarkly_flag_trigger.example example-project-key/example-env-key/example-flag-key/62581d4488def814b831abc3
```

where the string following the final slash is your unique trigger ID.

The unique trigger ID can be found in your saved trigger URL:

```
https://app.launchdarkly.com/webhook/triggers/<THIS_IS_YOUR_TRIGGER_ID>/aff25a53-17d9-4112-a9b8-12718d1a2e79
https://app.launchdarkly.com/webhook/triggers/THIS_IS_YOUR_TRIGGER_ID/aff25a53-17d9-4112-a9b8-12718d1a2e79
```

Please note that if you did not save this upon creation of the resource, you will have to reset it to get a new value, which can cause breaking changes.
4 changes: 2 additions & 2 deletions website/docs/r/relay_proxy_configuration.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ Relay proxy configuration `policy` blocks are composed of the following argument

Relay Proxy configurations can be imported using the configuration's unique 24 character ID, e.g.

```shell-session
```
$ terraform import launchdarkly_relay_proxy_configuration.example 51d440e30c9ff61457c710f6
```

The unique relay proxy ID can be found in the relay proxy edit page URL, which you can locate by clicking the three dot menu on your relay proxy item in the UI and selecting 'Edit configuration':

```
https://app.launchdarkly.com/settings/relay/<THIS_IS_YOUR_RELAY_PROXY_ID>/edit
https://app.launchdarkly.com/settings/relay/THIS_IS_YOUR_RELAY_PROXY_ID/edit
```

0 comments on commit 9f560bd

Please sign in to comment.