Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ImportStatePersist to preserve state generated by import operation (
#1052) * Use ImportStatePersist to preserve state generated by import operation (#717) * Removing additional call to Init as this has already been called in runNewTest and when called at this point will overwrite the contents of the .terraform directory with the current version of the provider (#717) * Adding CHANGELOG entry (#717) * Adding test coverage (#717) * Linting (#717) * Appears that init needs to be run within testStepNewImportState if we're not persisting the state generated by the import (#717) * Fixing test and adding a couple of additional tests to verify that import test works when ImportStatePersist is false (#717) * Linting (#717)
- Loading branch information
1 parent
3951e14
commit d0009e2
Showing
4 changed files
with
451 additions
and
8 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```release-note:enhancement | ||
helper/resource: Add ImportStatePersist to optionally persist state generated during import | ||
``` |
This file contains 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
This file contains 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
Oops, something went wrong.