Commit Graph

812 Commits (f979b8feef7d151a6720b66242dd2e4aab88a2ff)

Author SHA1 Message Date
James Bardin dbe9599820 remove dead code
9 years ago
James Bardin b3795e2d29 remove old state hook code
9 years ago
Mat Schaffer 76d4abd12a Fix typo on state migration input error
9 years ago
Vladislav Rassokhin df4342bc3d Regenerate plugin list since provisioners were changed in previous commits
9 years ago
David Glasser 783908ee25 core: fix bad Sprintf in backend migration message (#14601)
9 years ago
Paul Stack 055c18e302 core/provider-split: Split out the Oracle OPC provider to new structure (#14362)
9 years ago
yanndegat 21d8125d5c provider/ovh: new provider (#12669)
9 years ago
Dmitrii Korotovskii ace0456d58 http provider and http request data source
9 years ago
James Bardin 947db2304a it's possible to get a nil diff in PreApply
9 years ago
Justin LaRose c6ad44de10 update error response when env does not exist (#14009)
9 years ago
stack72 898ac02854
Merge branch 'feature/gitlab_provider' of https://github.com/richardc/terraform into richardc-feature/gitlab_provider
9 years ago
Edward Betts be265479a9 correct spelling mistakes (#13979)
9 years ago
James Bardin 6ef7c83ec5 add data-loss warning to SIGINT handler in apply
9 years ago
Richard Clamp 631b0b865c provider/gitlab: add gitlab provider and `gitlab_project` resource
9 years ago
Martin Atkins b1763e262a Restore stringer-generated files back to new version
9 years ago
Jasmin Gacic 61499cfcf0 Provider Oneandone (#13633)
9 years ago
James Bardin dca89519ec Merge pull request #13825 from hashicorp/jbardin/reconfigure
9 years ago
James Bardin 0e0f0b64b9 add init -reconfigure test
9 years ago
James Bardin 7aa2ce8341 add -reconfigure option for init
9 years ago
Jake Champlin 35388cbc31 Merge pull request #13468 from hashicorp/f-oracle-compute
9 years ago
Quentin Machu bf8d932d23
provider/local: Implement a new local_file resource
9 years ago
James Bardin d1b4df42ed missing PersistState in env new
9 years ago
David Joos bbd2e6de35 Fix for minor typo
9 years ago
tombuildsstuff 3a084b061a Merge branch 'master' into f-oracle-merge
9 years ago
Jake Champlin 456d43e200
Merge remote-tracking branch 'origin/master' into f-oracle-compute
9 years ago
James Bardin fb4a365d12 noop migrate copy, add -lock and -input
9 years ago
James Bardin aad143b6d1 set stateLock to true when building meta flagSet
9 years ago
James Bardin d059939f88 Merge pull request #13262 from hashicorp/jbardin/lock-timeouts
9 years ago
Radek Simko fc72a20c66 command/hook_ui: Increase max length of state IDs (#13317)
9 years ago
Jake Champlin edc524df55
provider/opc: Update OPC Provider
9 years ago
James Bardin 3d604851c2 test -lock-timeout from cli
9 years ago
James Bardin 5eca913b14 add cli flags for -lock-timeout
9 years ago
James Bardin 305ef43aa6 provide contexts to clistate.Lock calls
9 years ago
James Bardin 3f0dcd1308 Have the clistate Lock use LockWithContext
9 years ago
James Bardin 75458a182d remove extra state.Locker assertions
9 years ago
James Bardin 8050eda52d don't delete local state on a local backend
9 years ago
James Bardin 50023e9a60 honor `input=false` in state migration
9 years ago
James Bardin 7d23e1ef20 add equivalent tests to meta_backend_test
9 years ago
James Bardin c891ab50b7 detect when backend.Hash needs update
9 years ago
James Bardin ff2d753062 add Rehash to terraform.BackendState
9 years ago
Martin Atkins 76dca009e0 Allow escaped interpolation-like sequences in variable defaults
9 years ago
Martin Atkins 21cd5595e2 Update stringer-generated files to new boilerplate
9 years ago
James Bardin f172b4a023 Merge pull request #13105 from hashicorp/jbardin/command-env
9 years ago
James Bardin 2cffa25235 Add test to verify that Validation isn't called
9 years ago
James Bardin 9d118325b3 Reject names that aren't url-safe
9 years ago
James Bardin 8027fe9e08 Don't Validate if we have an execution plan
9 years ago
James Bardin 54e536cfe0 add `-force-copy` option to init command
9 years ago
Mitchell Hashimoto d01886a644
command: remove legacy remote state on migration
9 years ago
Mitchell Hashimoto 23505cc2a8 Merge pull request #12818 from hashicorp/b-legacy
9 years ago
James Bardin 434e78158a Merge pull request #12812 from hashicorp/jbardin/hook-ui-race
9 years ago
Mitchell Hashimoto 4f59576231
command: fix awkward wording in message
9 years ago
James Bardin b9931c437d fix race in hook ui PreApply test
9 years ago
Mitchell Hashimoto 96e38041ab
command: use backendinit instead of initializing legacy directly
9 years ago
Mitchell Hashimoto c87f3dfdd5
command/init: add test for -backend-config k/v
9 years ago
Mitchell Hashimoto df8529719c
command/init: backend-config accepts key=value pairs
9 years ago
Mitchell Hashimoto e1f4eca93c
command: apply needs to look at the right field for backend state
9 years ago
Mitchell Hashimoto 25312c8985
command/push: update copy for remote state error
9 years ago
James Bardin 9bfa361e21 Merge pull request #12778 from hashicorp/jbardin/GH-12741
9 years ago
Mitchell Hashimoto 6921457601 Merge pull request #12777 from hashicorp/b-refresh-empty
9 years ago
James Bardin ea095eda87 change to default state after backend migration
9 years ago
Mitchell Hashimoto 2be1f55cbb
backend/local: allow refresh on empty/non-existent state
9 years ago
Mitchell Hashimoto 81639480fb
command: recompute config hash with ConfigFile set
9 years ago
Mitchell Hashimoto 87201ec854
command/push: test for push with new backends
9 years ago
Mitchell Hashimoto 8b208a597d
command/push: don't allow pushing with local backend
9 years ago
Radek Simko 4448e45678 Merge pull request #12372 from hashicorp/f-kubernetes
9 years ago
Mitchell Hashimoto f7964194eb
command: fix odd formatting that snuck in
9 years ago
Mitchell Hashimoto d475fc29a8
command: test that terraform meta information is passed through
9 years ago
Radek Simko f1db0fcf9b
kubernetes: Add provider + namespace resource
9 years ago
Radek Simko 4d6242dfe0 command: Add tests for UiHook (#12447)
9 years ago
Sean Chittenden 17fb98afa2 Circonus Provider (#12338)
9 years ago
James Bardin 200d5787ca Merge pull request #12433 from hashicorp/jbardin/extra-args
9 years ago
Clint 5d894e4ffd Fix up command and some go fmt issues (#12509)
9 years ago
Paul Stack b57e0bee2a provider/datadog: Update to datadog_monitor still used d.GetOk (#12497)
9 years ago
James Bardin e58a02405e missing args assignment after parsing flags
9 years ago
Mitchell Hashimoto 03493f7d46
command: validate backend config
9 years ago
Mitchell Hashimoto d1b930d5b5
command: remove unused test
9 years ago
Mitchell Hashimoto 0224a12a00
command: fix go vet
9 years ago
Mitchell Hashimoto 5086f9f568
command: remove log
9 years ago
Mitchell Hashimoto 866de2776e
command: trigger still applying cancellations from a channel
9 years ago
Radek Simko 17c9a403f2
WIP
9 years ago
Radek Simko 08283f077b
command: Fix crash caused by empty state
9 years ago
Radek Simko 2e2b8686dd command: Display state ID in PreApply+PostApply (#12261)
9 years ago
Mitchell Hashimoto 868230ee60
command/state-push: fix go vet
9 years ago
Mitchell Hashimoto ee985a606c Merge pull request #12350 from hashicorp/b-state-push-stdin
9 years ago
Mitchell Hashimoto f735205677 Merge pull request #12349 from hashicorp/b-ux
9 years ago
Mitchell Hashimoto a6b2eca613
command/state-push: support pushing from stdin
9 years ago
Mitchell Hashimoto 1f614bd4d6
command: color changes, trimming newlines
9 years ago
Mitchell Hashimoto e1a63e6b7f Merge pull request #12348 from hashicorp/b-state-pull-crash
9 years ago
Mitchell Hashimoto bdde7d845a Merge pull request #12347 from hashicorp/b-env-migrate
9 years ago
Mitchell Hashimoto 7f6a99404d
command: fix crash on state pull with empty state
9 years ago
Mitchell Hashimoto 549d525487 Merge pull request #12320 from hashicorp/b-legacy-state
9 years ago
Mitchell Hashimoto 1e3d452613
command: multistate to multistate conversions
9 years ago
Mitchell Hashimoto c82d7dd56c
command: multi-state (non-default env) to single state
9 years ago
Mitchell Hashimoto e75b666591
command: test multi-state to single state
9 years ago
Mitchell Hashimoto 3ef82e6b5f
command: test multi-state with default only to single state
9 years ago
Mitchell Hashimoto 1d8b76c89d
command: initial work on migrating envs, basic cases first
9 years ago
James Bardin 39a5ddd381 Split Meta back out of StateMeta
9 years ago
Mitchell Hashimoto 2c19aa69d9
command: legacy remote state should load from backendinit
9 years ago
James Bardin 4dac986a91 Local.StatePaths doesn't need to reutrn an error
9 years ago
James Bardin dc675540de fix rebased tests
9 years ago
James Bardin b53704ed87 Thread the environment through all commands
9 years ago
James Bardin 2a73331c62 use State.HasResources rather than State.Empty
9 years ago
James Bardin 06663991d1 Add config path argument to env commands
9 years ago
James Bardin c8526484b3 split the env command into subcommands
9 years ago
James Bardin 31f033827f Add basic env commands
9 years ago
James Bardin 1ea9413c07 Remove state path handling from commands
9 years ago
Mitchell Hashimoto 3cedfa00f4
command: use backend.CLIIinit
9 years ago
James Bardin 80389375b5 Fix the Push test outputs
9 years ago
James Bardin 71c541c65c always quote hcl map keys
9 years ago
James Bardin d596d6e761 Revert "always quote hcl map keys"
9 years ago
James Bardin 43f62d2630 always quote hcl map keys
9 years ago
James Bardin 43c7bd648c fix sorting of module resources during state mv
9 years ago
Mitchell Hashimoto 4c7c46bf40
command: fix test for new Meta type
9 years ago
Mitchell Hashimoto 8f11068ab2 Merge pull request #12173 from hashicorp/b-remote-state-ds
9 years ago
Mitchell Hashimoto d2d87bccf0 Merge pull request #12155 from hashicorp/b-state-backend
9 years ago
Mitchell Hashimoto ebb22d3ecd
backend/local: don't RefreshState on State API
9 years ago
Liran Polak f37800ae62 New Provider: Spotinst (#5001)
9 years ago
Mitchell Hashimoto 478a7dbfe7
command: convert to using backend/init
9 years ago
Mitchell Hashimoto e4d2193ed6
command/state: mv and rm -backup works
9 years ago
Mitchell Hashimoto 6e1dc9c77d
command: extra RefreshState calls
9 years ago
Mitchell Hashimoto ad1ba7c2b1
command/state list: test against backend
9 years ago
James Bardin c080334c3f Merge pull request #12069 from hashicorp/jbardin/state-locking
9 years ago
James Bardin d710ecbd4d Fix regression from not having an real unlock test
9 years ago
James Bardin 5095d7c6a7 Add complete unlock test
9 years ago
clint shryock be6ae20ac1 Merge branch 'pr-8299'
9 years ago
Chris Paris 5812bae27f RefreshState in output command
9 years ago
Mitchell Hashimoto 716132431a
command/init: initialize backend even if not set in the config
9 years ago
James Bardin a372e9c54b fix state migration lock info
9 years ago
James Bardin ec00564be6 Clean up LockInfo and LockError and use them
9 years ago
James Bardin f2e496a14c Have backend operations properly unlock state
9 years ago
James Bardin f5ed8cd288 Use NewLockInfo to get a pre-populated value
9 years ago
James Bardin 4f0c465187 make command tests pass with new state.Locker
9 years ago
James Bardin 67dc16c9ca Make backend/local test pass
9 years ago
Mitchell Hashimoto b7a143fffb
command/state: improved error message on state lock fail
9 years ago
Mitchell Hashimoto 18bc77c359
command/state: up the threshold for showing lock info
9 years ago
Mitchell Hashimoto 90f3d40c1f
command: use new state lock/unlock helpers for better UX
9 years ago
Mitchell Hashimoto 34f438b635
command/state: helpers for UX with lock/unlock state
9 years ago
Kazumichi Yamamoto cd7f69ab11 New provider arukas (#11171)
9 years ago
George Hartzell e39f4e1993 Typo: determien -> determine (#11888)
9 years ago
Roberto Jung Drebes e3934c23c8 provider/dns: DNS dynamic updates (RFC 2136)
9 years ago
James Bardin 0c1b138719 Add state locking during backend init
9 years ago
James Bardin 5c2e945b3c Fix format string and typos
9 years ago
Mitchell Hashimoto a5ab6e447b command/apply: update help text to be "parallel" instead of concurrent
9 years ago
James Bardin 5ca5a3c78a Merge pull request #11724 from hashicorp/jbardin/state-locking
9 years ago
James Bardin 65abe98047 Remove lock command and rename lock/force-unlock
9 years ago
Mitchell Hashimoto 0c97c5a3d9
command: tests should move to temporary cwd
9 years ago
James Bardin 015198ca11 Add lock/unlock commands
9 years ago
James Bardin b80ae5e13e Add source path argument to testLockState
9 years ago
James Bardin eb8e5ac739 Change CLI flag to '-lock'
9 years ago
James Bardin 07903189f1 s/Meta.lockState/Meta.stateLock/g
9 years ago