forked from hashicorp/terraform-plugin-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
Adds querycheck.ExpectNoIdentity
#1
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…p#250) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.16.0 to 0.17.0. - [Commits](golang/crypto@v0.16.0...v0.17.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ications in migration guide (hashicorp#251) These items came up during an official provider migration which: - Implemented terraform-plugin-sdk based resource with state migrations and covering unit testing that needed to remain. - Had not migrated `resource.Retry` to `resource.RetryContext` yet, so needed the extra entry
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json) from 0.18.0 to 0.20.0. - [Release notes](https://github.com/hashicorp/terraform-json/releases) - [Commits](hashicorp/terraform-json@v0.18.0...v0.20.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-json dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Reference: hashicorp#223 Reference: hashicorp#237 Reference: hashicorp#256 Post-release update to the v1.6.0 CHANGELOG to capture now-known situations that would affect existing provider testing. This update ensures developers upgrading to v1.6.0 will receive the latest guidance and the guidance will remain for this version after future releases. If approved and merged, the v1.6.0 GitHub Release description will also be updated with the same additional content.
…ashicorp#258) Reference: https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc Its usage was only in esoteric functionality that is unintentionally exported and already deprecated. The `maps`/`slices` Go standard library packages are only Go 1.21+ so could not leverage that immediately since this Go module is 1.20+ until 1.22 is released, but the structures are small enough that its not too much lift to implement the manual copying code. Remaining indirect dependency is via sdk/v2 (which that dependency will go away next major version anyways): ``` # github.com/mitchellh/copystructure github.com/hashicorp/terraform-plugin-testing/helper/resource github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema github.com/mitchellh/copystructure ```
…ashicorp#259) Reference: https://gist.github.com/mitchellh/90029601268e59a29e64e55bab1c5bdc Its usage was only in esoteric functionality that is unintentionally exported and already deprecated. Remaining indirect dependency is via sdk/v2 (which that dependency will go away next major version): ``` # github.com/mitchellh/reflectwalk github.com/hashicorp/terraform-plugin-testing/helper/resource github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema github.com/hashicorp/terraform-plugin-sdk/v2/terraform github.com/mitchellh/reflectwalk ```
Reference: golang/go#61914 It was only used for the `constraints` package, the type definitions are relatively trivial and static, and the Go language maintainers are not sure if/where these will live in the standard library, which implies (at least to me) they could also disappear from x/exp.
…hicorp#261) Reference: hashicorp#237 Reference: hashicorp#256 Technically, this testing change is always safe to make, but this calls out the currently known situations it will cause errors to not over-burden developers during their migration.
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.3 to 1.3.7. - [Release notes](https://github.com/cloudflare/circl/releases) - [Commits](cloudflare/circl@v1.3.3...v1.3.7) --- updated-dependencies: - dependency-name: github.com/cloudflare/circl dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…shicorp#267) Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.3 to 1.3.7. - [Release notes](https://github.com/cloudflare/circl/releases) - [Commits](cloudflare/circl@v1.3.3...v1.3.7) --- updated-dependencies: - dependency-name: github.com/cloudflare/circl dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ration (hashicorp#265) * Modify regex to detect other legitimate forms of provider block declaration (hashicorp#264) * Add change log entry (hashicorp#264) * Update internal/teststep/config.go Co-authored-by: Brian Flad <[email protected]> * Modify regex to detect other legitimate forms of terraform block declaration (hashicorp#264) --------- Co-authored-by: Brian Flad <[email protected]>
…p#272) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.17.0 to 0.18.0. - [Commits](golang/crypto@v0.17.0...v0.18.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…p#274) Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
…and `ExpectKnownOutputValueAtPath` (hashicorp#248) * Add KnownValue interface and types (hashicorp#243) * Add ExpectKnownValue plan check (hashicorp#243) * Handling different permutations for equality checking of interface type and value, and known value type and value (hashicorp#243) * Adding tests for missing resource, and attribute value null (hashicorp#243) * Adding plan checks for known output value and known output value at path (hashicorp#243) * Adding documentation (hashicorp#243) * Adding changelog entries (hashicorp#243) * Adding TerraformVersionChecks (hashicorp#243) * Modifying to handle numerical values returned as json.Number for tfjson.Plan (hashicorp#243) * Renaming known value constructors (hashicorp#243) * Refactoring to Check interface (hashicorp#243) * Linting (hashicorp#243) * Modifying known value check error messages and tests (hashicorp#243) * Updating tests for ExpectKnownValue, ExpectKnownOutputValue and ExpectKnownOutputValueAtPaath (hashicorp#243) * Adding changelog entry to note the switch to using json.Number for numerical value representation in the plan (hashicorp#243) * Remove reference to state checks (hashicorp#243) * Moving concepts under title and removing reference to Framework types (hashicorp#243) * Updating Go doc comments to clarify usage of partial equality and remove references to KnownValue interface (hashicorp#243) * Modifying known-values.mdx page description (hashicorp#243) * Restructuring and updating references to knownvalue.Check (hashicorp#243) * Adding individual docs pages for each type of known value check (hashicorp#243) * Removing references to num elements (hashicorp#243) * Removing references to state (hashicorp#243) * Adding docs page for custom known value checks (hashicorp#243) * Fixing error message (hashicorp#243) * Refactoring to accomodate custom known value checks in ExpectKnownValue, ExpectKnownOutputValue and ExpectKnownOutputValueAtPath (hashicorp#243) * Apply suggestions from code review Co-authored-by: Brian Flad <[email protected]> * Unexporting types that implement known value check (hashicorp#266) * Document usage of 512-bit precision in the number known value check (hashicorp#266) * Adding attribute or output path to error message (hashicorp#266) * Replacing alias in example code (hashicorp#266) * Rename file (hashicorp#266) * Renamed list, map, and set element length checks to <List|Map|Set>SizeExact (hashicorp#243) * Removing ObjectAttributesExact (hashicorp#243) * Renaming known value check types (hashicorp#243) --------- Co-authored-by: Brian Flad <[email protected]>
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json) from 0.20.0 to 0.21.0. - [Release notes](https://github.com/hashicorp/terraform-json/releases) - [Commits](hashicorp/terraform-json@v0.20.0...v0.21.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-json dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Terraform 1.7 is now generally available and we know there will be 1.8 for provider functions, etc. This does not feel like it warrants a changelog entry for such as small change, but happy to create one.
…p#280) Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
…shicorp#281) Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.14.1 to 1.14.2. - [Release notes](https://github.com/zclconf/go-cty/releases) - [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md) - [Commits](zclconf/go-cty@v1.14.1...v1.14.2) --- updated-dependencies: - dependency-name: github.com/zclconf/go-cty dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ashicorp#275) * Adding StateCheck interface (hashicorp#266) * Configuring when state checks are executed. * Testing that state checks are executed. * Adding validation to ensure state checks are only defined for config (apply) tests (hashicorp#266) * Adding ExpectKnownValue state check (hashicorp#266) * Adding ExpectKnownOutputValue state check (hashicorp#266) * Adding ExpectKnownOutputValueAtPath state check (hashicorp#266) * Modifying ExpectKnown<Value|OutputValue|OutputValueAtPath> to allow for checking of null values (hashicorp#266) * Adding ExpectSensitiveValue state check (hashicorp#266) * Adding documentation for state checks and null known value check type (hashicorp#266) * Adding to the documentation for the custom known value check (hashicorp#266) * Adding changelog entries (hashicorp#266) * Refactoring to use updated known value check types (hashicorp#266) * Correcting documentation for revised naming of known value check types (hashicorp#266) * Renaming nul known value check (hashicorp#266) * Fixing tests (hashicorp#266) * Adding address and path to state check errors (hashicorp#266) * Fixing navigation (hashicorp#266) * Fixing changelog entries * Modifying ExpectKnown<Value|OutputValue|OutputValueAtPath> to handle null checking (hashicorp#266) * Deprecating ExpectNullOutputValue and ExpectNullOutputValueAtPath plan checks (hashicorp#266) * Adding return statements (hashicorp#266) * Adding change log entry for deprecation of `ExpectNullOutputValue` and `ExpectNullOutputValueAtPath` plan checks (hashicorp#266) * Modifying return value of nullExact.String() (hashicorp#266) * Renaming variable (hashicorp#266) * Adding comment for Terraform v1.4.6 (hashicorp#266) * Adding further tests for null exact known value type check (hashicorp#266) * Linting (hashicorp#266) * Renaming BoolExact to Bool, and NullExact to Null (hashicorp#266) * Removing ConfigStateChecks type (hashicorp#266) * Move execution of ConfigStateChecks (hashicorp#266)
…p#283) Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
…#284) Bumps [github.com/hashicorp/terraform-plugin-go](https://github.com/hashicorp/terraform-plugin-go) from 0.20.0 to 0.21.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-go/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-go/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-go@v0.20.0...v0.21.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-go dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…corp#285) Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.31.0 to 2.32.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-sdk@v2.31.0...v2.32.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…p#288) Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
…p#289) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.18.0 to 0.19.0. - [Commits](golang/crypto@v0.18.0...v0.19.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…hashicorp#290) Bumps [github.com/hashicorp/hc-install](https://github.com/hashicorp/hc-install) from 0.6.2 to 0.6.3. - [Release notes](https://github.com/hashicorp/hc-install/releases) - [Commits](hashicorp/hc-install@v0.6.2...v0.6.3) --- updated-dependencies: - dependency-name: github.com/hashicorp/hc-install dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…p#291) Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
…p#297) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.19.0 to 0.20.0. - [Commits](golang/crypto@v0.19.0...v0.20.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Add calls to 't.Helper()' in defered functions. * add changelog --------- Co-authored-by: Austin Valle <[email protected]>
…corp#296) Bumps [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk) from 2.32.0 to 2.33.0. - [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-sdk@v2.32.0...v2.33.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…p#521) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.38.0 to 0.39.0. - [Commits](golang/crypto@v0.38.0...v0.39.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.39.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.3.7 to 1.6.1. - [Release notes](https://github.com/cloudflare/circl/releases) - [Commits](cloudflare/circl@v1.3.7...v1.6.1) --- updated-dependencies: - dependency-name: github.com/cloudflare/circl dependency-version: 1.6.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…shicorp#524) Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.6.0 to 1.6.1. - [Release notes](https://github.com/cloudflare/circl/releases) - [Commits](cloudflare/circl@v1.6.0...v1.6.1) --- updated-dependencies: - dependency-name: github.com/cloudflare/circl dependency-version: 1.6.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… for import block test kinds (hashicorp#518) * importstate: Use `ExpectNonEmptyPlan` field to ignore no-op assertion for import block test kinds * add changelog
…gFile` or `ConfigDirectory` (hashicorp#522) * test config fix * add changelog * swap the statements around * adjusted changelog
…plugin-* Go dependencies (hashicorp#514) * github: Group all Github action updates in a single Dependabot PR once a week * dependabot: single PR for terraform-plugin-* dependencies
…ashicorp#526) Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.23.0 to 2.24.0. - [Release notes](https://github.com/hashicorp/hcl/releases) - [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md) - [Commits](hashicorp/hcl@v2.23.0...v2.24.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/hcl/v2 dependency-version: 2.24.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…p#527) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.39.0 to 0.40.0. - [Commits](golang/crypto@v0.39.0...v0.40.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.40.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ashicorp#530) Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.8.0 to 0.27.0. - [Commits](golang/oauth2@v0.8.0...v0.27.0) --- updated-dependencies: - dependency-name: golang.org/x/oauth2 dependency-version: 0.27.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Initial work on Query command for List Resource * Added helper/resource parts for query * Moved files * But what if we comment out print statements? * What if we are more specific and say `.tfquery.hcl` * Updating to version 1.14 for query_test.go * Update testing_new.go * Update helper/resource/query/query_test.go Co-authored-by: stephybun <[email protected]> * Update internal/plugintest/working_dir.go Co-authored-by: stephybun <[email protected]> * Update internal/teststep/file.go Co-authored-by: stephybun <[email protected]> --------- Co-authored-by: stephybun <[email protected]>
…#534) Bumps the terraform-plugin group with 1 update: [github.com/hashicorp/terraform-plugin-go](https://github.com/hashicorp/terraform-plugin-go). Updates `github.com/hashicorp/terraform-plugin-go` from 0.29.0-alpha.1 to 0.29.0-beta.1 - [Release notes](https://github.com/hashicorp/terraform-plugin-go/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-go/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-go@v0.29.0-alpha.1...v0.29.0-beta.1) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-go dependency-version: 0.29.0-beta.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: terraform-plugin ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…p#536) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.40.0 to 0.41.0. - [Commits](golang/crypto@v0.40.0...v0.41.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.41.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github.com/hashicorp/terraform-json](https://github.com/hashicorp/terraform-json) from 0.25.0 to 0.26.0. - [Release notes](https://github.com/hashicorp/terraform-json/releases) - [Commits](hashicorp/terraform-json@v0.25.0...v0.26.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-json dependency-version: 0.26.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ashicorp#496) * experimental: refresh after config mode test step * fixup! experimental: refresh after config mode test step * Skip an unnecessary refresh * Rename compatibility flag and extract to compatibility.go * Add header * Use an environment variable * logging > fmt * Add changelog entry * Skip TestQuery
) Bumps the github-actions group with 2 updates: [actions/checkout](https://github.com/actions/checkout) and [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action). Updates `actions/checkout` from 4.2.2 to 5.0.0 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@11bd719...08c6903) Updates `goreleaser/goreleaser-action` from 6.3.0 to 6.4.0 - [Release notes](https://github.com/goreleaser/goreleaser-action/releases) - [Commits](goreleaser/goreleaser-action@9c156ee...e435ccd) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: goreleaser/goreleaser-action dependency-version: 6.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…shicorp#540) Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.16.3 to 1.16.4. - [Release notes](https://github.com/zclconf/go-cty/releases) - [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md) - [Commits](zclconf/go-cty@v1.16.3...v1.16.4) --- updated-dependencies: - dependency-name: github.com/zclconf/go-cty dependency-version: 1.16.4 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Documentation has moved to https://github.com/hashicorp/web-unified-docs and these files are obsolete now.
…shicorp#544) Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.16.4 to 1.17.0. - [Release notes](https://github.com/zclconf/go-cty/releases) - [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md) - [Commits](zclconf/go-cty@v1.16.4...v1.17.0) --- updated-dependencies: - dependency-name: github.com/zclconf/go-cty dependency-version: 1.17.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
) Bumps the github-actions group with 2 updates: [miniscruff/changie-action](https://github.com/miniscruff/changie-action) and [actions/setup-go](https://github.com/actions/setup-go). Updates `miniscruff/changie-action` from 2.0.0 to 2.1.0 - [Release notes](https://github.com/miniscruff/changie-action/releases) - [Changelog](https://github.com/miniscruff/changie-action/blob/main/CHANGELOG.md) - [Commits](miniscruff/changie-action@6dcc253...5036dff) Updates `actions/setup-go` from 5.5.0 to 6.0.0 - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](actions/setup-go@d35c59a...4469467) --- updated-dependencies: - dependency-name: miniscruff/changie-action dependency-version: 2.1.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions - dependency-name: actions/setup-go dependency-version: 6.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Initial work on Query command for List Resource * Added helper/resource parts for query * Moved files * But what if we comment out print statements? * What if we are more specific and say `.tfquery.hcl` * Updating to version 1.14 for query_test.go * Scaffolding for QueryCheck * Outlining the marshalling for filling in terraform-json.Query * Update testing_new.go * Update helper/resource/query/query_test.go Co-authored-by: stephybun <[email protected]> * Update internal/plugintest/working_dir.go Co-authored-by: stephybun <[email protected]> * Update internal/teststep/file.go Co-authored-by: stephybun <[email protected]> * Updating branch * Working on using unmarshalled buffer instead of tfjson * Removed tests that get skipped for version * pass reattach info into QueryJSON call * unmarshal found list result * change tfversion checks to skip below `1.14` * try unmarshalling query results and traversing using `tfjsonpath` * Updated go mod to latest * Changes from pairing * Updated terraform exec with new draft and initial query test in helper/resource running * Updated to add error handling for returned terraform exec boolean * Pushing for up to dateness * updating providerserver.go * Updated the query test to return actual identity and start to implement List * fixed test so expect_identity.go runs * Refactored expect_identity.go so it works for multiple identity attributes, started to add length and length exact checks * Changes by sgoods * Updated error messages * Updated error messages * Updated comment * add contains query check for checking if a given resource exists in the query results * update CheckQueryRequest to provide ListResourceFoundData and ListCompleteData and refactor a little * add expect known value check * Updated comment * Ran make generate * Fixed lintier * Fixed lintier * update terraform-json and terraform-exec dependencies and update query checks to be consistent with existing statechecks * remove redundant return statement and skip over nil messages * fix query test * review comments * update query test * minor fixes --------- Co-authored-by: stephybun <[email protected]> Co-authored-by: Selena Goods <[email protected]>
* bump go version to 1.24.0 * update issue reference
…p#545) Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.41.0 to 0.42.0. - [Commits](golang/crypto@v0.41.0...v0.42.0) --- updated-dependencies: - dependency-name: golang.org/x/crypto dependency-version: 0.42.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…corp#552) Bumps the terraform-plugin group with 1 update in the / directory: [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk). Updates `github.com/hashicorp/terraform-plugin-sdk/v2` from 2.37.0 to 2.38.0 - [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-sdk@v2.37.0...v2.38.0) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2 dependency-version: 2.38.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: terraform-plugin ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…corp#554) Bumps the terraform-plugin group with 1 update: [github.com/hashicorp/terraform-plugin-sdk/v2](https://github.com/hashicorp/terraform-plugin-sdk). Updates `github.com/hashicorp/terraform-plugin-sdk/v2` from 2.38.0 to 2.38.1 - [Release notes](https://github.com/hashicorp/terraform-plugin-sdk/releases) - [Changelog](https://github.com/hashicorp/terraform-plugin-sdk/blob/main/CHANGELOG.md) - [Commits](hashicorp/terraform-plugin-sdk@v2.38.0...v2.38.1) --- updated-dependencies: - dependency-name: github.com/hashicorp/terraform-plugin-sdk/v2 dependency-version: 2.38.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: terraform-plugin ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds
querycheck.ExpectNoIdentityto validate that there is no result with the given Resource IdentityRelated to hashicorp#555