Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Submit GPG key to the OpenTofu registry #221

Closed
tthompson-figma opened this issue Oct 25, 2024 · 8 comments
Closed

Submit GPG key to the OpenTofu registry #221

tthompson-figma opened this issue Oct 25, 2024 · 8 comments
Assignees

Comments

@tthompson-figma
Copy link

We would like to migrate to OpenTofu with all providers' GPG signatures validated. However, OpenTofu skips validation for this provider because the OpenTofu registry does not have this provider's GPG key.

You can follow this link to submit it: Submit new Provider Signing Key

If you don't have access to the public key anymore, you can retrieve it from the Terraform registry:

curl 'https://registry.terraform.io/v1/providers/launchdarkly/launchdarkly/2.9.2/download/linux/amd64' | jq --raw-output '.signing_keys | .gpg_public_keys | .[0] | .ascii_armor'

Note: For security reasons, it has to be submitted by the provider author for the OpenTofu registry to accept it.

Alternatives considered
Out-of-band GPG validation for providers missing keys in the OpenTofu registry. This is a pain :)

Additional context
OpenTofu is a fork of Terraform that is open-source, community-driven, and managed by the Linux Foundation.
Hashicorp opentofu/roadmap#24 (comment) for the terraform provider registry to disallow usage with things other than terraform, so OpenTofu had to build its own registry.

Potential impact
Allows OpenTofu users to use this provider with the same security guarantees they would using Terraform.

@sloloris sloloris self-assigned this Oct 28, 2024
@sloloris
Copy link
Member

Hi @tthompson-figma ! Thanks for bringing this to our attention and for providing such thorough instructions!

I've submitted our public key via the link you provided; here is the issue. I will follow up here if there is any movement.

I hope we're able to unblock you quickly!

@tthompson-figma
Copy link
Author

It merged! Thanks so much for your super-fast help!! 🙇

@jrioux-trustii
Copy link

Hi, we have this issue in our pipeline following this change
image

Is there a wait time for the key to propagate? Or do we need to clear something on our side?

@nicolaschambrier
Copy link

Hi, we have this issue in our pipeline following this change image

Is there a wait time for the key to propagate? Or do we need to clear something on our side?

Same issue here

@mguillet-payfit
Copy link

Hi,
The submitted GPG key in opentofu/registry#1216 seems to be an old one and not the latest used since version 2.10.0 of the provider.

v2.9.2:

➜  curl -s 'https://registry.terraform.io/v1/providers/launchdarkly/launchdarkly/2.9.2/download/linux/amd64' | jq --raw-output '.signing_keys | .gpg_public_keys | .[0] | .ascii_armor' | gpg -
pub   rsa4096 2020-07-30 [SC]
      EE3E8DB9FE983A0CCDA8CB395902D4FCD0383786
uid           Henry Barrow (GPG generated for Terraform provider transfer) <hbarrow@launchdarkly.com>
sub   rsa4096 2020-07-30 [E]

v2.10.0 and later:

➜  curl -s 'https://registry.terraform.io/v1/providers/launchdarkly/launchdarkly/2.10.0/download/linux/amd64' | jq --raw-output '.signing_keys | .gpg_public_keys | .[0] | .ascii_armor' | gpg -
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
pub   rsa4096 2023-02-22 [SC]
      1F9EF64EE33373DD313FFA36F6E8B367CFA9B29C
uid           LaunchDarkly Integrations <integrations@launchdarkly.com>
sub   rsa4096 2023-02-22 [E]

➜  curl -s 'https://registry.terraform.io/v1/providers/launchdarkly/launchdarkly/2.21.0/download/linux/amd64' | jq --raw-output '.signing_keys | .gpg_public_keys | .[0] | .ascii_armor' | gpg -
gpg: WARNING: no command supplied.  Trying to guess what you mean ...
pub   rsa4096 2023-02-22 [SC]
      1F9EF64EE33373DD313FFA36F6E8B367CFA9B29C
uid           LaunchDarkly Integrations <integrations@launchdarkly.com>
sub   rsa4096 2023-02-22 [E]

The recent GPG key should be submitted I think.
cc @sloloris

@sloloris
Copy link
Member

@tthompson-figma the original addition of the GPG key was reverted because of the discussion above. Since it seems we can have more than one key for different versions of the LD provider, I want to just quickly check in as to whether you do in fact need the key associated with v2.9.2 of our provider, in which case I will try to revert the revert. In the meantime, I have submitted the more recent one.

@tthompson-figma
Copy link
Author

@sloloris thanks for checking in! I think we're fine to upgrade our minor version instead of you all needing to keep the old key around :)

@sloloris sloloris reopened this Oct 30, 2024
@sloloris
Copy link
Member

Wonderful! In that case @mguillet-payfit, @nicolaschambrier, @jrioux-trustii the new key has merged. Please let us know if you continue to have issues but I will close this issue for now!

LaunchDarklyReleaseBot added a commit that referenced this issue Nov 29, 2024
* (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)

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

* Release 2.7.2 (#106)

* Ammend changelog (#107)

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>

* Update Go api client to 10.0.1

Make GET request to get correct project type in test_utils

Remove git diff from circleci

* Fix up v10 migration PR

* [SC-160359] Create Teams resource and datasource

Adds the Teams resource and datasource

* Fix up documentation

* Make lists unsorted to avoid unnecessary change detection

* Update website/docs/d/team.html.markdown

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

* Make lists unsorted to avoid unnecessary change detection

* 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.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…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants