Skip to content

Commit

Permalink
prepare 2.19.0 release (#212)
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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* update changelog

* update changelog

* backmerge 2.6.1 (#204)

* Imiller/sc 151834/add base permissions to custom role resource (#205)

* update changelog

* messed up the version number

* add base permissions to custom role resource & doc

* update tests

* Backmerge/release 2.7.0 (#206)

* prepare release (#80)

* Prepare 2.4.1 release (#82)

* prepare 2.5.0 release (#87)

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* prepare 2.6.1 release (#94)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* 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 <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* Prepare 2.7.0 release (#98)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* update changelog

* update changelog

* backmerge 2.6.1 (#204)

* Imiller/sc 151834/add base permissions to custom role resource (#205)

* update changelog

* messed up the version number

* add base permissions to custom role resource & doc

* update tests

* auto-generate integration configs

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Fabian <feldbergf@gmail.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Fabian <ffeldberg@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>
Co-authored-by: Fabian <feldbergf@gmail.com>

* (bug-fix) Update modules to accept new API header

Hashicorp [recently added a Release
API](https://www.hashicorp.com/blog/announcing-the-hashicorp-releases-api)
that includes a new `Content-Type` header
`application/vnd+hashicorp.releases-api.v0+json`. This gets used
somewhere in making requests, but the `hc-install` Go library was
previously at version 0.3.1 which raised an error when it encountered
this header. V0.3.2 accepts the header, so this updates the Go modules
in this repo using `go get -u && go mod tidy`.

* Update circleci test timeout to 15 seconds

The circleci test failed because the test took 10.10 seconds. So let's update the timeout to 15 seconds from 10.
link to old test failure:
https://app.circleci.com/pipelines/github/launchdarkly/terraform-provider-launchdarkly-private/1452/workflows/51a2008f-0c3e-4b7d-af3b-3c1d84387b84/jobs/1847?invite=true#step-113-330%7CError

* Regenerate auditlog configs to resolve CI failures (#211)

* Regenerate auditlog configs

* Run make generate again

* Run make generate to supress CI failures (#212)

* added a check for environment and warning

* fix go lint error

* use environmentExists function

* remove grafana

* Update changelog with bug fix for datasource feature flag environment

* added changes

* upgrade go version 1.18.1 (#217)

* upgrade go version

* Upgrade to go 1.18.1

* Upgrade go version everywhere

* Upgrade circle linter to V2

* Add cache prefix to linter

* Turn cache prefix into string

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* Backmerge public/release v2.7.1 3 (#219)

* prepare release (#80)

* Prepare 2.4.1 release (#82)

* prepare 2.5.0 release (#87)

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* prepare 2.6.1 release (#94)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* 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 <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* Prepare 2.7.0 release (#98)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* update changelog

* update changelog

* backmerge 2.6.1 (#204)

* Imiller/sc 151834/add base permissions to custom role resource (#205)

* update changelog

* messed up the version number

* add base permissions to custom role resource & doc

* update tests

* auto-generate integration configs

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Fabian <feldbergf@gmail.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* Prepare 2.7.1 release (#103)

- Datasource `launchdarkly_feature_flag_environment` now checks whether the environment exists and print out a more descriptive error. [#101](https://github.com/launchdarkly/terraform-provider-launchdarkly/issues/101)

* Prepare release 2.7.1 2 (#104)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* update changelog

* update changelog

* backmerge 2.6.1 (#204)

* Imiller/sc 151834/add base permissions to custom role resource (#205)

* update changelog

* messed up the version number

* add base permissions to custom role resource & doc

* update tests

* Backmerge/release 2.7.0 (#206)

* prepare release (#80)

* Prepare 2.4.1 release (#82)

* prepare 2.5.0 release (#87)

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* prepare 2.6.1 release (#94)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* 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 <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* Prepare 2.7.0 release (#98)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* update changelog

* update changelog

* backmerge 2.6.1 (#204)

* Imiller/sc 151834/add base permissions to custom role resource (#205)

* update changelog

* messed up the version number

* add base permissions to custom role resource & doc

* update tests

* auto-generate integration configs

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Fabian <feldbergf@gmail.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Fabian <ffeldberg@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>
Co-authored-by: Fabian <feldbergf@gmail.com>

* (bug-fix) Update modules to accept new API header

Hashicorp [recently added a Release
API](https://www.hashicorp.com/blog/announcing-the-hashicorp-releases-api)
that includes a new `Content-Type` header
`application/vnd+hashicorp.releases-api.v0+json`. This gets used
somewhere in making requests, but the `hc-install` Go library was
previously at version 0.3.1 which raised an error when it encountered
this header. V0.3.2 accepts the header, so this updates the Go modules
in this repo using `go get -u && go mod tidy`.

* Update circleci test timeout to 15 seconds

The circleci test failed because the test took 10.10 seconds. So let's update the timeout to 15 seconds from 10.
link to old test failure:
https://app.circleci.com/pipelines/github/launchdarkly/terraform-provider-launchdarkly-private/1452/workflows/51a2008f-0c3e-4b7d-af3b-3c1d84387b84/jobs/1847?invite=true#step-113-330%7CError

* Regenerate auditlog configs to resolve CI failures (#211)

* Regenerate auditlog configs

* Run make generate again

* Run make generate to supress CI failures (#212)

* added a check for environment and warning

* fix go lint error

* use environmentExists function

* remove grafana

* Update changelog with bug fix for datasource feature flag environment

* added changes

* upgrade go version 1.18.1 (#217)

* upgrade go version

* Upgrade to go 1.18.1

* Upgrade go version everywhere

* Upgrade circle linter to V2

* Add cache prefix to linter

* Turn cache prefix into string

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* remove checked in testing examples

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Fabian <feldbergf@gmail.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>
Co-authored-by: Fabian <ffeldberg@launchdarkly.com>
Co-authored-by: Lucy Voigt <lvoigt@launchdarkly.com>
Co-authored-by: Lucy Voigt <thelucyvoigt@gmail.com>
Co-authored-by: Sunny Guduru <sguduru@launchdarkly.com>

* fix merge issue in Circle config (#105)

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Fabian <ffeldberg@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>
Co-authored-by: Fabian <feldbergf@gmail.com>
Co-authored-by: Sunny Guduru <sguduru@launchdarkly.com>
Co-authored-by: Lucy Voigt <lvoigt@launchdarkly.com>
Co-authored-by: Lucy Voigt <thelucyvoigt@gmail.com>

* Remove invalid integration configurations (#221)

* Add blacklist to manifest codegen and remove Zapier. (#222)

* Update blacklist to codegen and remove Zapier

* Update changelog

* Backmerge release 2.7.2 (#223)

* prepare release (#80)

* Prepare 2.4.1 release (#82)

* prepare 2.5.0 release (#87)

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* prepare 2.6.1 release (#94)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* 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 <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* Prepare 2.7.0 release (#98)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* update changelog

* update changelog

* backmerge 2.6.1 (#204)

* Imiller/sc 151834/add base permissions to custom role resource (#205)

* update changelog

* messed up the version number

* add base permissions to custom role resource & doc

* update tests

* auto-generate integration configs

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Fabian <feldbergf@gmail.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* Prepare 2.7.1 release (#103)

- Datasource `launchdarkly_feature_flag_environment` now checks whether the environment exists and print out a more descriptive error. [#101](https://github.com/launchdarkly/terraform-provider-launchdarkly/issues/101)

* Prepare release 2.7.1 2 (#104)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* update changelog

* update changelog

* backmerge 2.6.1 (#204)

* Imiller/sc 151834/add base permissions to custom role resource (#205)

* update changelog

* messed up the version number

* add base permissions to custom role resource & doc

* update tests

* Backmerge/release 2.7.0 (#206)

* prepare release (#80)

* Prepare 2.4.1 release (#82)

* prepare 2.5.0 release (#87)

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* prepare 2.6.1 release (#94)

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <imiller@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* 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 <hbarrow@launchdarkly.com>

Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>

* prepare 2.5.1 release

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

Co-authored-by: Isabelle Miller <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* 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 e722f061047d0d433c8a5fbcc76fbe4e45eedef7.

* 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 <imiller@launchdarkly.com>
Co-authored-by: Henry Barrow <hbarrow@launchdarkly.com>
Co-authored-by: Clifford Tawiah <ctawiah@launchdarkly.com>
Co-authored-by: Cliff Tawiah <82856282+ctawiah@users.noreply.github.com>

* Prepare 2.7.0 release (#98)

* 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)

*…
  • Loading branch information
22 people authored Jun 14, 2024
1 parent 3c9101c commit 8127de5
Show file tree
Hide file tree
Showing 98 changed files with 1,289 additions and 2,494 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
test:
executor:
name: go/default
tag: &go_version "1.19.3"
tag: &go_version "1.21.3"

environment:
# sc-146360 - overrides the default timeout of 3000ms when reaching checkpoint-api.hashicorp.com
Expand Down Expand Up @@ -112,7 +112,8 @@ jobs:
sudo apt install python3-pip python-is-python3
- terraform/install:
terraform_version: latest
- linter/pre-commit
- linter/pre-commit:
cache_prefix: v1
- notify-slack-of-failures

workflows:
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.20.3
1.21.3
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Requirements

- [Terraform](https://www.terraform.io/downloads.html) 0.12.x (to run acceptance tests)
- [Go](https://golang.org/doc/install) 1.16 (to build the provider plugin)
- [Go](https://golang.org/doc/install) 1.21 (to build the provider plugin)

## Quick Start

Expand Down
4 changes: 2 additions & 2 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ test: fmtcheck
xargs -t -n4 go test $(TESTARGS) -timeout=90s -parallel=4

testacc: fmtcheck
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m
TF_ACC=1 go test $(TEST) -v $(TESTARGS) -timeout 120m -parallel=4

testacc-with-retry: fmtcheck
testacc-with-retry:
make testacc || make testacc

vet:
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
<a href="https://terraform.io">
<img src="https://cdn.rawgit.com/hashicorp/terraform-website/master/content/source/assets/images/logo-hashicorp.svg" alt="Terraform logo" title="Terraform" align="right" height="50" />
</a>

# Terraform Provider for LaunchDarkly

- Website: https://www.terraform.io
Expand Down
59 changes: 31 additions & 28 deletions docs/data-sources/flag_trigger.md
Original file line number Diff line number Diff line change
@@ -1,56 +1,59 @@
---
layout: "launchdarkly"
page_title: "LaunchDarkly: launchdarkly_flag_trigger"
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "launchdarkly_flag_trigger Data Source - launchdarkly"
subcategory: ""
description: |-
Get information about LaunchDarkly flag triggers.
Provides a LaunchDarkly flag trigger data source.
-> Note: Flag triggers are available to customers on an Enterprise LaunchDarkly plan. To learn more, read about our pricing https://launchdarkly.com/pricing/. To upgrade your plan, contact LaunchDarkly Sales https://launchdarkly.com/contact-sales/.
This data source allows you to retrieve information about flag triggers from your LaunchDarkly organization.
---

# launchdarkly_flag_trigger
# launchdarkly_flag_trigger (Data Source)

Provides a LaunchDarkly flag trigger data source.

-> **Note:** Flag triggers are available to customers on an Enterprise LaunchDarkly plan. To learn more, read about our pricing. To upgrade your plan, [contact LaunchDarkly Sales](https://launchdarkly.com/contact-sales/).
-> **Note:** Flag triggers are available to customers on an Enterprise LaunchDarkly plan. To learn more, [read about our pricing](https://launchdarkly.com/pricing/). To upgrade your plan, [contact LaunchDarkly Sales](https://launchdarkly.com/contact-sales/).

This data source allows you to retrieve information about flag triggers from your LaunchDarkly organization.

## Example Usage

```hcl
```terraform
data "launchdarkly_flag_trigger" "example" {
id = "<project_key>/<env_key>/<flag_key>/61d490757f7821150815518f"
integration_key = "datadog"
instructions {
kind = "turnFlagOff"
}
id = "61d490757f7821150815518f"
flag_key = "example-flag"
project_key = "the-big-project"
env_key = "production"
}
```

## Argument Reference
<!-- schema generated by tfplugindocs -->
## Schema

- `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:
### Required

- `env_key` (String) The unique key of the environment the flag trigger will work in.
- `flag_key` (String) The unique key of the associated flag.
- `id` (String) The Terraform 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
```

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.
- `project_key` (String) The unique key of the project encompassing the associated flag.

## Attributes Reference

In addition to the arguments above, the resource exports the following attributes:

- `project_key` - The unique key of the project encompassing the associated flag.

- `env_key` - The unique key of the environment the flag trigger will work in.

- `flag_key` - The unique key of the associated flag.

- `integration_key` - The unique identifier of the integration your trigger is set up with.
### Read-Only

- `instructions` - Instructions containing the action to perform when invoking the trigger. Currently supported flag actions are `"turnFlagOn"` and `"turnFlagOff"`. These can be found on the `kind` field nested on the `instructions` attribute.
- `enabled` (Boolean) Whether the trigger is currently active or not.
- `instructions` (List of Object) Instructions containing the action to perform when invoking the trigger. Currently supported flag actions are `turnFlagOn` and `turnFlagOff`. This must be passed as the key-value pair `{ kind = "<flag_action>" }`. (see [below for nested schema](#nestedatt--instructions))
- `integration_key` (String) The unique identifier of the integration you intend to set your trigger up with. Currently supported are `generic-trigger`, `datadog`, `dynatrace`, `dynatrace-cloud-automation`, `honeycomb`, `new-relic-apm`, and `signalfx`. `generic-trigger` should be used for integrations not explicitly supported.
- `maintainer_id` (String) The ID of the member responsible for maintaining the flag trigger. If created via Terraform, this value will be the ID of the member associated with the API key used for your provider configuration.
- `trigger_url` (String, Sensitive) The unique URL used to invoke the trigger.

- `maintainer_id` - The ID of the member responsible for maintaining the flag trigger. If created via Terraform, this value will be the ID of the member associated with the API key used for your provider configuration.
<a id="nestedatt--instructions"></a>
### Nested Schema for `instructions`

- `enabled` - Whether the trigger is currently active or not.
Read-Only:

Please note that the original trigger URL itself will not be surfaced.
- `kind` (String)
71 changes: 34 additions & 37 deletions docs/data-sources/metric.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,58 @@
---
layout: "launchdarkly"
page_title: "LaunchDarkly: launchdarkly_metric"
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "launchdarkly_metric Data Source - launchdarkly"
subcategory: ""
description: |-
Get information about LaunchDarkly metrics.
Provides a LaunchDarkly metric data source.
This data source allows you to retrieve metric information from your LaunchDarkly organization.
---

# launchdarkly_metric
# launchdarkly_metric (Data Source)

Provides a LaunchDarkly metric data source.

This data source allows you to retrieve metric information from your LaunchDarkly organization.

## Example Usage

```hcl
```terraform
data "launchdarkly_metric" "example" {
key = "example-metric"
project_key = "example-project"
}
```

## Argument Reference
<!-- schema generated by tfplugindocs -->
## Schema

- `key` - (Required) The metric's unique key.
### Required

- `project_key` - (Required) The metric's project key.
- `key` (String) The unique key that references the metric. A change in this field will force the destruction of the existing resource and the creation of a new one.
- `project_key` (String) The metrics's project key. A change in this field will force the destruction of the existing resource and the creation of a new one.

## Attributes Reference
### Read-Only

In addition to the arguments above, the resource exports the following attributes:
- `description` (String) The description of the metric's purpose.
- `event_key` (String) The event key for your metric (if custom metric)
- `id` (String) The ID of this resource.
- `is_active` (Boolean) Whether a metric is a active.
- `is_numeric` (Boolean) Whether a `custom` metric is a numeric metric or not.
- `kind` (String) The metric type. Available choices are `click`, `custom`, and `pageview`.
- `maintainer_id` (String) The LaunchDarkly member ID of the member who will maintain the metric. If not set, the API will automatically apply the member associated with your Terraform API key or the most recently-set maintainer
- `name` (String) The human-friendly name for the metric.
- `randomization_units` (Set of String) A set of one or more context kinds that this metric can measure events from. Metrics can only use context kinds marked as "Available for experiments." For more information, read [Allocating experiment audiences](https://docs.launchdarkly.com/home/creating-experiments/allocation).
- `selector` (String) The CSS selector for your metric (if click metric)
- `success_criteria` (String) The success criteria for your metric (if numeric metric)
- `tags` (Set of String) Tags associated with your resource.
- `unit` (String) (Required for kind `custom`) The unit for numeric `custom` metrics.
- `urls` (List of Object) List of nested `url` blocks describing URLs that you want to associate with the metric. (see [below for nested schema](#nestedatt--urls))

- `id` - The unique metric ID in the format `project_key/metric_key`.
<a id="nestedatt--urls"></a>
### Nested Schema for `urls`

- `name` - The name of the metric.
Read-Only:

- `project_key` - The metrics's project key.

- `kind` - The metric type. Available choices are `click`, `custom`, and `pageview`.

- `tags` - Set of tags associated with the metric.

- `description` - The description of the metric's purpose.

- `is_numeric` - Whether a `custom` metric is a numeric metric or not.

- `is_active` - Whether a metric is a active.

- `maintainer_id` - The userId of the user maintaining the metric.

- `selector` - The CSS selector for `click` metrics.

- `urls` - Which URLs the metric watches.

- `event_key` - The event key to watch for `custom` metrics.

- `success_criteria` - The success criteria for numeric `custom` metrics.

- `unit` - The unit for numeric `custom` metrics.

- `randomization_units` - A set of one or more context kinds that this metric can measure events from. Metrics can only use context kinds marked as "Available for experiments." For more information, read [Allocating experiment audiences](https://docs.launchdarkly.com/home/creating-experiments/allocation)
- `kind` (String)
- `pattern` (String)
- `substring` (String)
- `url` (String)
46 changes: 28 additions & 18 deletions docs/data-sources/project.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
---
layout: "launchdarkly"
page_title: "LaunchDarkly: launchdarkly_project"
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "launchdarkly_project Data Source - launchdarkly"
subcategory: ""
description: |-
Get information about LaunchDarkly projects.
Provides a LaunchDarkly project data source.
This data source allows you to retrieve project information from your LaunchDarkly organization.
-> Note: LaunchDarkly data sources do not provide access to the project's environments. If you wish to import environment configurations as data sources you must use the launchdarkly_environment data source.
---

# launchdarkly_project
# launchdarkly_project (Data Source)

Provides a LaunchDarkly project data source.

Expand All @@ -15,33 +18,40 @@ This data source allows you to retrieve project information from your LaunchDark

## Example Usage

```hcl
```terraform
data "launchdarkly_project" "example" {
key = "example-project"
}
```

## Argument Reference
<!-- schema generated by tfplugindocs -->
## Schema

- `key` - (Required) The project's unique key.
### Required

## Attributes Reference
- `key` (String) The project's unique key.

In addition to the arguments above, the resource exports the following attributes:
### Read-Only

- `name` - The project's name.
- `client_side_availability` (List of Object, Deprecated) A map describing which client-side SDKs can use new flags by default. Please migrate to `default_client_side_availability` to maintain future compatibility. (see [below for nested schema](#nestedatt--client_side_availability))
- `default_client_side_availability` (List of Object) A block describing which client-side SDKs can use new flags by default. (see [below for nested schema](#nestedatt--default_client_side_availability))
- `id` (String) The ID of this resource.
- `name` (String) The project's name.
- `tags` (Set of String) Tags associated with your resource.

- `client_side_availability` - **Deprecated** A map describing which client-side SDKs can use new flags by default. To learn more, read [Nested Client-Side Availability Block](#nested-client-side-availability-block).
Please migrate to `default_client_side_availability` to maintain future compatability.
<a id="nestedatt--client_side_availability"></a>
### Nested Schema for `client_side_availability`

- `default_client_side_availability` - A block describing which client-side SDKs can use new flags by default. To learn more, read [Nested Client-Side Availability Block](#nested-client-side-availability-block).
Read-Only:

- `tags` - The project's set of tags.
- `using_environment_id` (Boolean)
- `using_mobile_key` (Boolean)

### Nested Client-Side Availability Block

The nested `default_client_side_availability` block has the following attributes:
<a id="nestedatt--default_client_side_availability"></a>
### Nested Schema for `default_client_side_availability`

- `using_environment_id` - When set to true, the flags in this project are available to SDKs using the client-side ID by default.
Read-Only:

- `using_mobile_key` - When set to true, the flags in this project are available to SDKs using a mobile key by default.
- `using_environment_id` (Boolean)
- `using_mobile_key` (Boolean)
Loading

0 comments on commit 8127de5

Please sign in to comment.