Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Prep for migration release (#75) * add goreleaser.yml * Update changelog * fix version number * Add GH actions for release (#76) * Add GH actions for release * Bump travis version * Update readme * Automatically add changelog entry to release (#77) * Update go.mod and automatically set version header (#78) * Add access tokens (#79) * prepare 1.2.2 release (#24) * Fix non-empty plan when creating a team member with a custom role (#63) * Fix handling of missing user target variation in API response (#64) Co-authored-by: Isabelle Miller <[email protected]> * v1.2.2 * Cleanup after v1.2.2 release * [ch85469] first pass at tokens * Update launchdarkly/resource_launchdarkly_access_token.go Co-authored-by: Henry Barrow <[email protected]> * add links to sensitive data callout * expiry and permission fixes * update markdown * use latest openapi client * keys * tidy * fixes * docs update * Fix go.mod and vendoring * Remove henry's fmt.Printf * Clean up go.mod * clean up go.mod even further * address some of review * custom role keys instead of ids * remove unused var * reintroduce removed code * remove references to deleted key * Remove fmt.Println * formatting fixes * fix tests Co-authored-by: Henry Barrow <[email protected]> Co-authored-by: Isabelle Miller <[email protected]> Co-authored-by: tf-release-bot <[email protected]> * Release 1.4.0 (#80) * update changelog for 1.4.0 * prepare 1.4.0 release (#37) * Prep for migration release (#75) * add goreleaser.yml * Update changelog * fix version number * Add GH actions for release (#76) * Add GH actions for release * Bump travis version * Update readme * Automatically add changelog entry to release (#77) * Update go.mod and automatically set version header (#78) * Add access tokens (#79) * prepare 1.2.2 release (#24) * Fix non-empty plan when creating a team member with a custom role (#63) * Fix handling of missing user target variation in API response (#64) Co-authored-by: Isabelle Miller <[email protected]> * v1.2.2 * Cleanup after v1.2.2 release * [ch85469] first pass at tokens * Update launchdarkly/resource_launchdarkly_access_token.go Co-authored-by: Henry Barrow <[email protected]> * add links to sensitive data callout * expiry and permission fixes * update markdown * use latest openapi client * keys * tidy * fixes * docs update * Fix go.mod and vendoring * Remove henry's fmt.Printf * Clean up go.mod * clean up go.mod even further * address some of review * custom role keys instead of ids * remove unused var * reintroduce removed code * remove references to deleted key * Remove fmt.Println * formatting fixes * fix tests Co-authored-by: Henry Barrow <[email protected]> Co-authored-by: Isabelle Miller <[email protected]> Co-authored-by: tf-release-bot <[email protected]> * update changelog for 1.4.0 Co-authored-by: Henry Barrow <[email protected]> Co-authored-by: Isabelle Miller <[email protected]> Co-authored-by: tf-release-bot <[email protected]> Co-authored-by: Henry Barrow <[email protected]> Co-authored-by: Isabelle Miller <[email protected]> Co-authored-by: tf-release-bot <[email protected]> * Ensure ommitted optional feature_flag_environment properties do not make changes when creating (#82) * Ensure optional feature flag environment properties really are optional * Update changelog * Imiller/ch78293/make terraform project data source (#73) * add stub schema * add read function that gets project by key * fix syntax issues * add test helper functions * add dataSourceProject to the provider * add test for an existing resource add test for an existing data source * add getProjectByKey method * name should be optional * fix test * add rate limiting to api hit in test to avoid 429 error * add include_in_snippet to project resource * extract projectRead into a helper function * set id for data source but not resource * add comment * remove redundant get function * fix tests * add include_in_snippet to project resource update test * replace travis with circleCI to run full tests (#84) * Add .circleci/config.yml * specify working directory * update run command * comment out run command to see if it will build * uncomment run & clean up' : * fix formatting * change go version to 1.14 * add make vet * fix indentation * scrap travis * don't run this test in parallel, see if it works * that wasn't it * add a 200ms sleep after creating custom roles to see if it fixes the not found error * limit to 3 packages at a time * try running just one package at a time? * try a sleep of 1 second after custom role creation * only clean team members that are pending invite * run only team member tests * run only create test * only run update with custom role * try all the team member tests again with seat limit flag off * run all team member tests separately * add test clean account * remove -p and add custom props * through test acc access token * fix test name typo * add all tests separately * remove sleep * don't run cleaner test * run creates separately * forgot to commit test name change * run all four tests separately * Imiller/ch78864/make environment data source (#83) * add stub schema * add read function that gets project by key * fix syntax issues * add test helper functions * add dataSourceProject to the provider * add test for an existing resource add test for an existing data source * add getProjectByKey method * name should be optional * fix test * add rate limiting to api hit in test to avoid 429 error * add include_in_snippet to project resource * extract projectRead into a helper function * set id for data source but not resource * add comment * remove redundant get function * fix tests * add include_in_snippet to project resource update test * extract read into helper funciton * stub data source * add isDataSource param to env read helper * actually add data source to provider * fix schema * add bad env test + scaffolding * make a separate schema for env data source because of differing required/optional fields * add test to check that it can get env * add id check to test * fix travis build * remove unnecessary fields from config * refactor schemas to use overlapping baes * scrap redundant config * Update launchdarkly/environments_helper.go Co-authored-by: Henry Barrow <[email protected]> * Update launchdarkly/environments_helper.go Co-authored-by: Henry Barrow <[email protected]> Co-authored-by: Henry Barrow <[email protected]> * Imiller/ch87115/make feature flag data source (#85) * add stub schema * add read function that gets project by key * fix syntax issues * add test helper functions * add dataSourceProject to the provider * add test for an existing resource add test for an existing data source * add getProjectByKey method * name should be optional * fix test * add rate limiting to api hit in test to avoid 429 error * add include_in_snippet to project resource * extract projectRead into a helper function * set id for data source but not resource * add comment * remove redundant get function * fix tests * add include_in_snippet to project resource update test * extract read into helper funciton * stub data source * add isDataSource param to env read helper * actually add data source to provider * fix schema * add bad env test + scaffolding * make a separate schema for env data source because of differing required/optional fields * add test to check that it can get env * add id check to test * fix travis build * remove unnecessary fields from config * stub data source * extract read from resource into helper & stub data source * extract test helpers into a test_utils file * add ff data source to provider * make variation_type optional * pass bool through read function to differentiate between resource and data source * add no match test * add scaffold helper function * add exists test * refactor schemas to use overlapping baes * refactor to use overlapping base schema b/w resource and data source * scrap redundant config * scrap redundant config * fix merge issue * fix merge again * Imiller/ch88747/make feature flag environment a data source (#86) * add stub schema * add read function that gets project by key * fix syntax issues * add test helper functions * add dataSourceProject to the provider * add test for an existing resource add test for an existing data source * add getProjectByKey method * name should be optional * fix test * add rate limiting to api hit in test to avoid 429 error * add include_in_snippet to project resource * extract projectRead into a helper function * set id for data source but not resource * add comment * remove redundant get function * fix tests * add include_in_snippet to project resource update test * extract read into helper funciton * stub data source * add isDataSource param to env read helper * actually add data source to provider * fix schema * add bad env test + scaffolding * make a separate schema for env data source because of differing required/optional fields * add test to check that it can get env * add id check to test * fix travis build * remove unnecessary fields from config * stub data source * extract read from resource into helper & stub data source * extract test helpers into a test_utils file * add ff data source to provider * make variation_type optional * pass bool through read function to differentiate between resource and data source * add no match test * add scaffold helper function * add exists test * refactor schemas to use overlapping baes * refactor to use overlapping base schema b/w resource and data source * stub data source file * extract schema into helper function * extract read function into helper * basic data source * move flagIdToKeys into feature flag helper * stub test config * scrap redundant config * scrap redundant config * move patchFlagEnvPath() into helper * add test scaffolding function * stub nomatch test * i did a very dumb thing - fix test * fix test again * return flag instead of config * add exists test * change all read functions to generic featureFlagEnvironmentRead * move test helper into data source * clean up test utils * move helper to correct file and update test to patch everything * check all the things * fix assertions * oops found a bug * fix error typo (#89) * Resolve issues with nested environments (#87) * Imiller/ch87117/make webhook data source (#88) * add stub schema * add read function that gets project by key * fix syntax issues * add test helper functions * add dataSourceProject to the provider * add test for an existing resource add test for an existing data source * add getProjectByKey method * name should be optional * fix test * add rate limiting to api hit in test to avoid 429 error * add include_in_snippet to project resource * extract projectRead into a helper function * set id for data source but not resource * add comment * remove redundant get function * fix tests * add include_in_snippet to project resource update test * extract read into helper funciton * stub data source * add isDataSource param to env read helper * actually add data source to provider * fix schema * add bad env test + scaffolding * make a separate schema for env data source because of differing required/optional fields * add test to check that it can get env * add id check to test * fix travis build * remove unnecessary fields from config * stub data source * extract read from resource into helper & stub data source * extract test helpers into a test_utils file * add ff data source to provider * make variation_type optional * pass bool through read function to differentiate between resource and data source * add no match test * add scaffold helper function * add exists test * refactor schemas to use overlapping baes * refactor to use overlapping base schema b/w resource and data source * stub data source file * extract schema into helper function * extract read function into helper * basic data source * move flagIdToKeys into feature flag helper * stub test config * scrap redundant config * scrap redundant config * move patchFlagEnvPath() into helper * add test scaffolding function * stub nomatch test * i did a very dumb thing - fix test * fix test again * return flag instead of config * add exists test * add a webhooks helper file * extract out base schema from resource * extract out read function * fix typo & stub data source * change all read functions to generic featureFlagEnvironmentRead * move test helper into data source * clean up test utils * move helper to correct file and update test to patch everything * check all the things * fix assertions * oops found a bug * oops make enabled optional * refactor read * forgot to define func param type * stub tests * add webhook & ff-env data sources to provider * no match test * set id for data source in read * add webhook exists test * change webhook_id to id * add policy to test * Imiller/ch87116/make segment data source (#91) * add stub schema * add read function that gets project by key * fix syntax issues * add test helper functions * add dataSourceProject to the provider * add test for an existing resource add test for an existing data source * add getProjectByKey method * name should be optional * fix test * add rate limiting to api hit in test to avoid 429 error * add include_in_snippet to project resource * extract projectRead into a helper function * set id for data source but not resource * add comment * remove redundant get function * fix tests * add include_in_snippet to project resource update test * extract read into helper funciton * stub data source * add isDataSource param to env read helper * actually add data source to provider * fix schema * add bad env test + scaffolding * make a separate schema for env data source because of differing required/optional fields * add test to check that it can get env * add id check to test * fix travis build * remove unnecessary fields from config * stub data source * extract read from resource into helper & stub data source * extract test helpers into a test_utils file * add ff data source to provider * make variation_type optional * pass bool through read function to differentiate between resource and data source * add no match test * add scaffold helper function * add exists test * refactor schemas to use overlapping baes * refactor to use overlapping base schema b/w resource and data source * stub data source file * extract schema into helper function * extract read function into helper * basic data source * move flagIdToKeys into feature flag helper * stub test config * scrap redundant config * scrap redundant config * move patchFlagEnvPath() into helper * add test scaffolding function * stub nomatch test * i did a very dumb thing - fix test * fix test again * return flag instead of config * add exists test * add a webhooks helper file * extract out base schema from resource * extract out read function * fix typo & stub data source * change all read functions to generic featureFlagEnvironmentRead * move test helper into data source * clean up test utils * move helper to correct file and update test to patch everything * check all the things * fix assertions * oops found a bug * oops make enabled optional * refactor read * forgot to define func param type * stub tests * add webhook & ff-env data sources to provider * no match test * set id for data source in read * add webhook exists test * extract out resource schema * extract out hte read function * add data source to provider * check accTest in webhook test * differentiate read for resource & ds * data source * add no match test * set id for data sources in read * add exists test * extract out resource schema * extract out hte read function * fix merge conflict * make project key required on segment resource Co-authored-by: Henry Barrow <[email protected]> * change webhook_id to id * add policy to test * change name from optional to computed Co-authored-by: Henry Barrow <[email protected]> Co-authored-by: Henry Barrow <[email protected]> * Add nested environments documentation (#90) * Use GetOKExists for off_variation and improve feature_flag_environment read efficiency (#93) * Use GetOKExists for off_variation and improve read efficiency * Add a json feature flag example with default variations (#94) * Imiller/ch90407/write docs for new data sources (#92) * add stub schema * add read function that gets project by key * fix syntax issues * add test helper functions * add dataSourceProject to the provider * add test for an existing resource add test for an existing data source * add getProjectByKey method * name should be optional * fix test * add rate limiting to api hit in test to avoid 429 error * add include_in_snippet to project resource * extract projectRead into a helper function * set id for data source but not resource * add comment * remove redundant get function * fix tests * add include_in_snippet to project resource update test * extract read into helper funciton * stub data source * add isDataSource param to env read helper * actually add data source to provider * fix schema * add bad env test + scaffolding * make a separate schema for env data source because of differing required/optional fields * add test to check that it can get env * add id check to test * fix travis build * remove unnecessary fields from config * stub data source * extract read from resource into helper & stub data source * extract test helpers into a test_utils file * add ff data source to provider * make variation_type optional * pass bool through read function to differentiate between resource and data source * add no match test * add scaffold helper function * add exists test * refactor schemas to use overlapping baes * refactor to use overlapping base schema b/w resource and data source * stub data source file * extract schema into helper function * extract read function into helper * basic data source * move flagIdToKeys into feature flag helper * stub test config * scrap redundant config * scrap redundant config * move patchFlagEnvPath() into helper * add test scaffolding function * stub nomatch test * i did a very dumb thing - fix test * fix test again * return flag instead of config * add exists test * add a webhooks helper file * extract out base schema from resource * extract out read function * fix typo & stub data source * change all read functions to generic featureFlagEnvironmentRead * move test helper into data source * clean up test utils * move helper to correct file and update test to patch everything * check all the things * fix assertions * oops found a bug * oops make enabled optional * refactor read * forgot to define func param type * stub tests * add webhook & ff-env data sources to provider * no match test * set id for data source in read * add webhook exists test * extract out resource schema * extract out hte read function * add data source to provider * check accTest in webhook test * differentiate read for resource & ds * data source * add no match test * set id for data sources in read * add exists test * extract out resource schema * extract out hte read function * fix merge conflict * make project key required on segment resource Co-authored-by: Henry Barrow <[email protected]> * change webhook_id to id * add policy to test * add new include_in_snippet arg to proj resource doc * add project ds doc * project key should be required in env ds * add env ds doc * update schema fields in ff ds * fix typos * feature flag ds doc * no validation function on computed schema type * fix feature_flag_env data source & tests * add feature_flag_environment data source doc * remove extra dashes for consistency * add webhook ds doc * fix typo * refactor a bit for conciseness * fix error in segment resource doc * add segment doc * differentiate reads between resource and ds for ff-env * change name from optional to computed Co-authored-by: Henry Barrow <[email protected]> * minor fixes * fix hcl example formatting * change resource to data source * update some wording & add ds links to website sidebar * go get new api version & go mod vendor * add client_side_availability ky * add client side availability to flag data source * switch out snippet for client side availability in project data source * convert client side availability struct to appropriate map for data source * update project test * update feature flag read to set csa * update feature flag data source test * change include_in_snippet to client_side_availability in project & ff ds docs * set include_in_snippet for feature flag resource instead of csa * add csa block section to project & ff docs * fix alignment * update changelog * singularize 'block' * update wording * update wording Co-authored-by: Henry Barrow <[email protected]> * change SDKS to SDKs Co-authored-by: Henry Barrow <[email protected]> * change SDKS to SDKs Co-authored-by: Henry Barrow <[email protected]> Co-authored-by: Henry Barrow <[email protected]> * update release version in changelog Co-authored-by: Henry Barrow <[email protected]> Co-authored-by: Arnold Trakhtenberg <[email protected]> Co-authored-by: tf-release-bot <[email protected]>
- Loading branch information