Skip to content

Commit

Permalink
prepare 2.12.1 release (#149)
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 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 <[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]>

* 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 <[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 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 <[email protected]>
Co-authored-by: Henry Barrow <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

* 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 <[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 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 <[email protected]>
Co-authored-by: Fabian <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

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

* (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 <[email protected]>

* 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 <[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]>

* 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 <[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 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 <[email protected]>
Co-authored-by: Henry Barrow <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

* 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 <[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 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 <[email protected]>
Co-authored-by: Fabian <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

* 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 <[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 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 <[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]>

* 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 <[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 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 <[email protected]>
Co-authored-by: Henry Barrow <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

* 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 <[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 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 <[email protected]>
Co-authored-by: Fabian <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

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

* (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 <[email protected]>

* remove checked in testing examples

Co-authored-by: Henry Barrow <[email protected]>
Co-authored-by: Fabian <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>
Co-authored-by: Fabian <[email protected]>
Co-authored-by: Lucy Voigt <[email protected]>
Co-authored-by: Lucy Voigt <[email protected]>
Co-authored-by: Sunny Guduru <[email protected]>

* fix merge issue in Circle config (#105)

Co-authored-by: Isabelle Miller <[email protected]>
Co-authored-by: Fabian <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>
Co-authored-by: Fabian <[email protected]>
Co-authored-by: Sunny Guduru <[email protected]>
Co-authored-by: Lucy Voigt <[email protected]>
Co-authored-by: Lucy Voigt <[email protected]>

* 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 <[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]>

* 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 <[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 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 <[email protected]>
Co-authored-by: Henry Barrow <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

* 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 <[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 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 <[email protected]>
Co-authored-by: Fabian <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

* 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 <[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 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 <[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]>

* 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 <[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 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 <[email protected]>
Co-authored-by: Henry Barrow <[email protected]>
Co-authored-by: Clifford Tawiah <[email protected]>
Co-authored-by: Cliff Tawiah <[email protected]>

* 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
20 people authored May 15, 2023
1 parent b133367 commit adfb5b1
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
## [2.12.1] - 2023-05-15

BUG FIXES:

- Fixes [an issue](https://github.com/launchdarkly/terraform-provider-launchdarkly/issues/142) in the `launchdarkly_feature_flag_environment` resource where empty `fallthrough` blocks would cause the provider to panic.

## [2.12.0] - 2023-03-10

FEATURES:

- Adds the optional `randomization_units` attribute to the `launchdarkly_metric` resource and data source. For more information, read [Allocating experiment audiences](https://docs.launchdarkly.com/home/creating-experiments/allocation). Thanks, @goldfrapp04!
Expand Down
20 changes: 19 additions & 1 deletion launchdarkly/audit_log_subscription_configs_generated.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,24 @@ var SUBSCRIPTION_CONFIGURATION_FIELDS = map[string]IntegrationConfig{
Type: "uri",
},
},
"grafana": {
"apiKey": {
AllowedValues: []string{},
DefaultValue: nil,
Description: "Enter an API key to your Grafana instance. This API key must have editor privileges.",
IsOptional: false,
IsSecret: true,
Type: "string",
},
"endpointUrl": {
AllowedValues: []string{},
DefaultValue: nil,
Description: "Enter your Grafana instance's URL. This instance must be accessible to LaunchDarkly's servers.",
IsOptional: false,
IsSecret: false,
Type: "uri",
},
},
"honeycomb": {
"apiKey": {
AllowedValues: []string{},
Expand Down Expand Up @@ -154,7 +172,7 @@ var SUBSCRIPTION_CONFIGURATION_FIELDS = map[string]IntegrationConfig{
"msteams": {"url": {
AllowedValues: []string{},
DefaultValue: nil,
Description: "Enter your Microsoft Teams [incoming webhook URL](https://docs.launchdarkly.com/integrations/microsoft-teams#setting-up-a-connector-in-microsoft-teams).",
Description: "Enter your Microsoft Teams [incoming webhook URL](https://docs.launchdarkly.com/integrations/microsoft-teams/webhooks#setting-up-a-connector-in-microsoft-teams).",
IsOptional: false,
IsSecret: false,
Type: "uri",
Expand Down
7 changes: 6 additions & 1 deletion launchdarkly/fallthrough_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,16 @@ type fallthroughModel struct {
}

func validateFallThroughResourceData(f []interface{}) error {
for _, f := range f {
if f == nil {
return errors.New("feature flag fallthrough block cannot be empty. Please specify at least one of variation or rollout_weights")
}
}
if !isPercentRollout(f) {
fall := f[0].(map[string]interface{})
if bucketBy, ok := fall[BUCKET_BY]; ok {
if bucketBy.(string) != "" {
return errors.New("flag_fallthrough: cannot use bucket_by argument with variation, only with rollout_weights")
return errors.New("flag fallthrough: cannot use bucket_by argument with variation, only with rollout_weights")
}
}
}
Expand Down
4 changes: 3 additions & 1 deletion scripts/codegen/manifestgen/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ import (
"github.com/dave/jennifer/jen"
)

// These integrations are ommitted because the subscriptions are created and managed by the integrations
var OMITTED_INTEGRATION_KEYS = []string{
"msteams-app",
"zapier", // Zapier is omitted because it the integration configuration is managed by Zapier
"compass",
"zapier",
}

func isOmitted(integrationKey string) bool {
Expand Down

0 comments on commit adfb5b1

Please sign in to comment.