Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare 2.6.1 release #94

Merged
merged 23 commits into from
Apr 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
8fd56bd
prepare release (#80) (#188)
sloloris Jan 20, 2022
aea6005
Do not allow 0% segment rule weights (#189)
ldhenry Jan 21, 2022
f1e972c
Fix flag trigger creation panic (#190)
ldhenry Jan 21, 2022
09a6fa3
Backmerge/release 2.4.1 (#191)
ldhenry Jan 21, 2022
e493b76
Add Slack webhooks to audit_log_subscription (#192)
ldhenry Feb 7, 2022
2512cf3
backmerge v2.5.0 (#193)
ldhenry Feb 8, 2022
f4332bc
Use jennifer to generate audit log subscription configs (#194)
ldhenry Feb 8, 2022
de0fe41
Run terraform provider acceptance tests daily and notify of failures …
ldhenry Feb 8, 2022
9a38dde
Update changelog branch (#195)
ldhenry Feb 9, 2022
d285706
[ sc-143291] update autogenerated audit_log_subscription configs (#197)
monsagri Mar 14, 2022
42d99ac
Increase checkpoint-api.harhicorp.com timeout to 10s (#198)
ldhenry Mar 17, 2022
04b73ff
Updated destination tests to use random env keys to avoid env conflic…
ctawiah Apr 6, 2022
b6bc3f2
Merge pull request #199 from launchdarkly/ctawiah/sc-148136/randomize…
ctawiah Apr 6, 2022
e722f06
[sc 148065] add approvals bypass to terraform docs (#200)
monsagri Apr 7, 2022
b88452a
Backmerge/release 2.6.0 (#201)
monsagri Apr 7, 2022
ae41bdb
fix doc issues (#202)
sloloris Apr 14, 2022
a402d11
[sc-149869] roll back documentation changes regarding (#203)
monsagri Apr 14, 2022
1293654
prepare 2.6.1 release
monsagri Apr 14, 2022
0c7a533
Merge remote-tracking branch public/main into release-2.6.1
monsagri Apr 14, 2022
95ba844
Merge branch 'main' into release-2.6.1
monsagri Apr 14, 2022
664ec0a
update changelog
monsagri Apr 14, 2022
6f90d6c
Merge branch 'release-2.6.1' of github.com:launchdarkly/terraform-pro…
monsagri Apr 14, 2022
61dc270
update readme
monsagri Apr 14, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
```