Skip to content

Commit 58ec6b8

Browse files
committed
fixup! fixup! fixup! fixup! fixup! Use ImportPlanVerify
1 parent f5f93c1 commit 58ec6b8

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

helper/resource/testing.go

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -702,19 +702,7 @@ type TestStep struct {
702702

703703
// ImportPlanVerify checks that a generated plan for a plannable import
704704
// (ImportBlockWithID or ImportBlockWithResourceIdentity) agrees with
705-
// the known state of a previous test stepstate values
706-
// that are finally put into the state after import match for all the
707-
// IDs returned by the Import. Note that this checks for strict equality
708-
// and does not respect DiffSuppressFunc or CustomizeDiff.
709-
//
710-
// By default, the prior resource state and import resource state are
711-
// matched by the "id" attribute. If the "id" attribute is not implemented
712-
// or another attribute more uniquely identifies the resource, set the
713-
// ImportStateVerifyIdentifierAttribute field to adjust the attribute for
714-
// matching.
715-
//
716-
// If certain attributes cannot be correctly imported, set the
717-
// ImportStateVerifyIgnore field.
705+
// the known state of a previous test steps.
718706
ImportPlanVerify bool
719707

720708
// ImportStateVerify, if true, will also check that the state values

0 commit comments

Comments
 (0)