Commit Graph

69 Commits (f-workspaces2-prototype)

Author SHA1 Message Date
Radek Simko 7860f55e4f
Version tools per Go convention under tools.go
6 years ago
Radek Simko 95cbf1c282
Fix copy-paste errors in test data
7 years ago
Pam Selle e6817f6319 Reordering, comment update
7 years ago
Alex Pilon 4bf43efcfd
move hcl2shim package to configs
7 years ago
Martin Atkins d41fc8d517 states/statefile: additional context for some v3 upgrade error messages
7 years ago
James Bardin 2988e373d6
Merge pull request #21484 from minamijoyo/fix-statev2-hash-decode
7 years ago
James Bardin ac2219ba6e don't lose Private state data during copy
7 years ago
Masayuki Morita ac83827c90 states/statefile: decode backend hash as uint64
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
7 years ago
Martin Atkins e8f9fad0e3 states/statemgr: use -mod=vendor to run the state locking helper
7 years ago
Martin Atkins 12572e97bc core: Automatically upgrade resource instance states on read
7 years ago
James Bardin f375691819 add missing key-value from test
7 years ago
Martin Atkins 5255e85238 "go fmt" fixups
7 years ago
Martin Atkins 6cb3b0f4cf states/statemgr: Local locks meta is near output path, not input path
7 years ago
Martin Atkins 48601d261d states/statemgr: In Filesystem, back up output file, not input file
7 years ago
Martin Atkins ec27526cc3 command: Fix TestMetaBackend_configuredChangeCopy_multiToMulti
7 years ago
Martin Atkins 22c84c71a4 command: Use statemgr.Import and statemgr.Export for state push and pull
7 years ago
Martin Atkins 985b414dca states/statemgr: Fix the Filesystem state manager tests
7 years ago
Martin Atkins 94510bc1b9 states/statemgr: Migrate, Import, and Export functions
7 years ago
Sander van Harmelen 634430ebb2 Fix wildcard dependencies when upgrading states
7 years ago
Martin Atkins 9ba399bca8 command: Fix TestInit_getProvider
7 years ago
Sander van Harmelen 5458a91985 command/state: update and fix the state show command
7 years ago
Sander van Harmelen 7ec3f96e3a command/state: update and fix the state mv command
7 years ago
Sander van Harmelen 19c1241a50 command/state: update and fix the state rm command
7 years ago
Sander van Harmelen 5e11de460a
Merge pull request #19130 from hashicorp/f-state-push-pull
7 years ago
Sander van Harmelen 7fbd93b5cd command/state: update and fix the state push and pull
7 years ago
Sander van Harmelen af1a471a05 command/state: update and fix the state list command
7 years ago
Martin Atkins ec57927ea3 build: Take protoc out of the "go generate" path
7 years ago
James Bardin d707049f72 don't make a backup of a nil state
7 years ago
Martin Atkins 66f96cf842 command: Un-stub and reimplement "terraform state rm"
7 years ago
Martin Atkins 331cb07a05 states/statefile: Tolerate nil state in statefile.New
7 years ago
Martin Atkins b0016e9cf6 command: Allow tests to run to completion without panics or hangs
7 years ago
Martin Atkins ec2e6cb06f terraform: Prune resource husks at the end of "terraform destroy"
7 years ago
Martin Atkins 2b5d9506b1 states: Fix TestResourceInstanceDeposeCurrentObject
7 years ago
Martin Atkins 2eea07750a core: Clean up resource states when they are orphaned
7 years ago
Martin Atkins faddb83a92 core: If create leg of create_before_destroy fails, restore deposed
7 years ago
Martin Atkins 334c6f1c2c core: Be more explicit in how we handle create_before_destroy
7 years ago
Martin Atkins 9eb32c4536 core: Reinstaint instance tainting, but without mutating objects
7 years ago
Martin Atkins d48f3600fe states: In Module.testString, use incrementing ids for deposed
7 years ago
Martin Atkins 83066cd57f states: Support non-string primitives in state string representation
7 years ago
Martin Atkins 5faf027ea7 states: In State.String, use colon suffix only after all module names
7 years ago