Commit Graph

62 Commits (f-testing-eval-prototype)

Author SHA1 Message Date
James Bardin ac2219ba6e don't lose Private state data during copy
7 years ago
James Bardin 1e1dcfd95a always write the current state terraform_version
7 years ago
Radek Simko 8a6d1d62b6
stringer: Regenerate files with latest version
7 years ago
Kristin Laemmert d7dda4e436
states/statefile: upgrade legacy dependency syntax (#21159)
7 years ago
Paul Tyng ab2d09b0cb
godoc typo
7 years ago
Sander van Harmelen 21cca34716 Fixup the docs for WriteStateForMigration
7 years ago
Sander van Harmelen 57f6e01830 backend/local: preserve serial and lineage on failure
7 years ago
Martin Atkins c39905e1a8 command: Fix various issues in the "terraform state ..." subcommands
7 years ago
Andriy Borodiychuk a0f3a2daa0 Update doc.go, fix typo (#20529)
7 years ago
Radek Simko ea05da89cb
states/statemgr: Avoid HTML escaping when printing LockInfo
7 years ago
James Bardin 292535820d ResourceInstanceObject needs to return a copy
8 years ago
Martin Atkins e8f9fad0e3 states/statemgr: use -mod=vendor to run the state locking helper
8 years ago
Martin Atkins 12572e97bc core: Automatically upgrade resource instance states on read
8 years ago
James Bardin f375691819 add missing key-value from test
8 years ago
Martin Atkins 5255e85238 "go fmt" fixups
8 years ago
Martin Atkins 6cb3b0f4cf states/statemgr: Local locks meta is near output path, not input path
8 years ago
Martin Atkins 48601d261d states/statemgr: In Filesystem, back up output file, not input file
8 years ago
Martin Atkins ec27526cc3 command: Fix TestMetaBackend_configuredChangeCopy_multiToMulti
8 years ago
Martin Atkins 22c84c71a4 command: Use statemgr.Import and statemgr.Export for state push and pull
8 years ago
Martin Atkins 985b414dca states/statemgr: Fix the Filesystem state manager tests
8 years ago
Martin Atkins 94510bc1b9 states/statemgr: Migrate, Import, and Export functions
8 years ago
Sander van Harmelen 634430ebb2 Fix wildcard dependencies when upgrading states
8 years ago
Martin Atkins 9ba399bca8 command: Fix TestInit_getProvider
8 years ago
Sander van Harmelen 5458a91985 command/state: update and fix the state show command
8 years ago
Sander van Harmelen 7ec3f96e3a command/state: update and fix the state mv command
8 years ago
Sander van Harmelen 19c1241a50 command/state: update and fix the state rm command
8 years ago
Sander van Harmelen 5e11de460a
Merge pull request #19130 from hashicorp/f-state-push-pull
8 years ago
Sander van Harmelen 7fbd93b5cd command/state: update and fix the state push and pull
8 years ago
Sander van Harmelen af1a471a05 command/state: update and fix the state list command
8 years ago
Martin Atkins ec57927ea3 build: Take protoc out of the "go generate" path
8 years ago
James Bardin d707049f72 don't make a backup of a nil state
8 years ago
Martin Atkins 66f96cf842 command: Un-stub and reimplement "terraform state rm"
8 years ago
Martin Atkins 331cb07a05 states/statefile: Tolerate nil state in statefile.New
8 years ago
Martin Atkins b0016e9cf6 command: Allow tests to run to completion without panics or hangs
8 years ago
Martin Atkins ec2e6cb06f terraform: Prune resource husks at the end of "terraform destroy"
8 years ago
Martin Atkins 2b5d9506b1 states: Fix TestResourceInstanceDeposeCurrentObject
8 years ago
Martin Atkins 2eea07750a core: Clean up resource states when they are orphaned
8 years ago
Martin Atkins faddb83a92 core: If create leg of create_before_destroy fails, restore deposed
8 years ago
Martin Atkins 334c6f1c2c core: Be more explicit in how we handle create_before_destroy
8 years ago
Martin Atkins 9eb32c4536 core: Reinstaint instance tainting, but without mutating objects
8 years ago
Martin Atkins d48f3600fe states: In Module.testString, use incrementing ids for deposed
8 years ago
Martin Atkins 83066cd57f states: Support non-string primitives in state string representation
8 years ago
Martin Atkins 5faf027ea7 states: In State.String, use colon suffix only after all module names
8 years ago
Martin Atkins 60718efc8e states: DeepCopy for ResourceInstanceObject
8 years ago
Martin Atkins edc0ce6333 states: Prune empty modules after possibly removing resources
8 years ago
Martin Atkins 8003b3408f states: Fix incorrect ResourceInstanceObjectSrc.DeepCopy
8 years ago
James Bardin 6f429cc81b make state output match legacy output
8 years ago
Martin Atkins 9af67806fc core: Prune placeholder objects from state after refresh
8 years ago
Martin Atkins 20adb9d9b7 core: Evaluate resource references from plan where possible
8 years ago
Martin Atkins 03e6771536 states/statemgr: don't panic if no state file is present on first write
8 years ago