Commit Graph

1228 Commits (e024960c745f0a464cb081d04765d93f94deaba0)

Author SHA1 Message Date
James Bardin 16e8e405c7 create failing test cases for remote lineage issue
9 years ago
Martin Atkins 8a7a0a7459 command: terraform init -from-module=...
9 years ago
James Bardin 51547ad2ba add tests for state commands through a backend
9 years ago
James Bardin 5b4ae36cb0 don't print help for state loading errors
9 years ago
James Bardin 33ba6774e0 Make the state commands use the real command.Meta
9 years ago
James Bardin 45a9edb763 make state mv and rm work with remote states
9 years ago
Kyle McCullough ad896b65c9
command: add -check flag to fmt (#15304)
9 years ago
James Bardin 0bca383b6b Merge pull request #15528 from alrs/command-swallowed-errors
9 years ago
Lars Lehtonen 119996b815
Return immediately after newly-added error condition
9 years ago
James Bardin eb02467298 Merge pull request #15588 from hashicorp/jbardin/no-graph-config
9 years ago
James Bardin f10163ecc7 graph should not panic with no config
9 years ago
Martin Atkins 23f9c8785e command/e2etest: an initial test for the primary workflow
9 years ago
Martin Atkins 52df81ee49 command/e2etest: test that we can install provider plugins
9 years ago
Martin Atkins 0e0b0d125a command/e2etest: "terraform version" test
9 years ago
Martin Atkins fee61a44b4 command/e2etest: end-to-end testing harness
9 years ago
Lars Lehtonen 8501d83e6c
Fix swallowed errors in command package.
9 years ago
James Bardin 583cc350a9 fix minor races in workspace tests
9 years ago
James Bardin f7f1e8e406 Sort arguments in Meta.process
9 years ago
James Bardin 0fdcf2c01e properly cleanup and print correct error messages
9 years ago
Robert Liebowitz 4bf2269784 Add test case for autoloading tfvars
9 years ago
Robert Liebowitz e67ecb5ce2 Restructure Meta.process to logically group code
9 years ago
Robert Liebowitz 8d98fdecac Autoload only .auto.tfvars files
9 years ago
Robert Liebowitz 006744bfe0 Use all tfvars files in working directory
9 years ago
Martin Atkins 39c4d6ab1f Merge #15424: Improve robustness of state persistence handling
9 years ago
Martin Atkins fee1197cf9 command: terraform state rm to require at least one argument
9 years ago
James Bardin fb397060eb add some Serial checks to apply and refresh tests
9 years ago
James Bardin 054716c397 use testStateRead helper in apply tests
9 years ago
James Bardin 501cbeaffe testState shouldn't rely on mods from WriteState
9 years ago
Mike Helmick 9d7fce2f69 command: "terraform workspace show" to print current workspace name
9 years ago
Martin Atkins 4d53eaa6df state: more robust handling of state Serial
9 years ago
Radek Simko 14614a5423 command/validate: Add flag to check that all variables are specified (#13872)
9 years ago
Jake Champlin 9944ea6886
core: Skip provider checksum validation based on env var
9 years ago
James Bardin da1c45b566 Merge pull request #15412 from hashicorp/jbardin/windows-delete-workspace
9 years ago
James Bardin 1c78dfb286 Unlock state before workspace deletion
9 years ago
David Glasser 14af879fe0 command: also print plan for destroy
9 years ago
David Glasser 039d36bf91 command: add "apply -auto-approve=false" flag
9 years ago
James Bardin 22074f1029 Merge pull request #15408 from hashicorp/jbardin/import-plugin-dir
9 years ago
Patrick Aikens 7775ef809b Display correct to and from backends in copy message when migrating to new remote state (#15318)
9 years ago
James Bardin 85b9069eb7 test import with -plugin-dir
9 years ago
James Bardin 0cbd51c365 find -plugin-dir during import
9 years ago
Martin Atkins 3df164502a command: don't prompt for state migration if TF_INPUT is set
9 years ago
James Bardin 833cc9a6c5 Fix state mv/rm -backup documentation
9 years ago
James Bardin 6e7baaaeff don't load the backend when -state is provided
9 years ago
James Bardin 5f939b42fe test that `state mv -state` doesn't use Backend
9 years ago
James Bardin 4893fcc24f improve plugin error formatting
9 years ago
James Bardin 103ab20b00 add required and found versions to error output
9 years ago
James Bardin 7a955f990c make display plugin checksum error to user
9 years ago
Martin Atkins 0dc6d97a37 command/format: minor adjustments to plan rendering
9 years ago
Martin Atkins 40e2fbb8e9 command: init to allow plugin init without backend init
9 years ago
Martin Atkins 3dc7d618f7 command: avoid empty string constraints in plugin install errors
9 years ago
James Bardin c10f5caf05 Merge pull request #15345 from hashicorp/jbardin/plugin-sig
9 years ago
Martin Atkins 9c2fe3456b command: purge unused plugins as a side effect of plugin installation
9 years ago
Martin Atkins d48dcbb4a5 command: more-helpful error messages from plugin installation
9 years ago
James Bardin 0a47228065 add -verify-plugins flag to init
9 years ago
James Bardin 6728c48d8c fix whitespace around backend init success message
9 years ago
James Bardin da385c4268 Don't show plugin init message if there are none
9 years ago
James Bardin 2e57d284cb Merge pull request #15323 from hashicorp/jbardin/constraint-suggestion
9 years ago
James Bardin ec99b6910b remove "~> 0.0" constraint suggestions
9 years ago
James Bardin 270eedd4b8 always pass in the full plugin path to dicovery
9 years ago
James Bardin be2069ac81 add -plugin-dir option
9 years ago
James Bardin 000e860706 Add plugin dir scaffolding
9 years ago
James Bardin f723270e3e search the vendor directory for plugins
9 years ago
James Bardin 4f5e92e4c0 reverse init test to check for dataDir in PWD
9 years ago
James Bardin 55bf19e548 always write to dataDir in the current directory
9 years ago
Martin Atkins 6979a07754 command: init -upgrade for provider plugins
9 years ago
Martin Atkins f753974bb3 plugin/discovery: Installer interface, and provider implementation
9 years ago
Gavin Williams 5834333ea3 command: terraform get -upgrade
9 years ago
James Bardin be900e8085 Merge pull request #15258 from hashicorp/jbardin/remove-providers
9 years ago
James Bardin cbbbcea4b9 stop err scanner goroutines between tests
9 years ago
James Bardin 77a32f3df0 remove "core" distinction
9 years ago
James Bardin 7e7f53954d remove internal provider test from command pkg
9 years ago
James Bardin 81ac0ed204 re-generate plugin list
9 years ago
Radek Simko 4e85f552e7 Merge pull request #15246 from hashicorp/b-fix-cmd-provider-crash
9 years ago
James Bardin a30007b41d Merge pull request #15032 from hashicorp/jbardin/init
9 years ago
Radek Simko f5ff67c530
command/providers: Add regression test
9 years ago
Radek Simko ee30df3efd
command/providers: Enable processing of meta-parameters
9 years ago
Radek Simko 86fbcfac83
command/providers: Avoid crash when no configs found
9 years ago
Martin Atkins f7ce6a15f8 backend: Operation.Environment renamed to "Workspace"
9 years ago
Martin Atkins 418a8a8bc9 command + backend: rename various API objects to "Workspace" terminology
9 years ago
Martin Atkins 5f9f13ab8f command: show warnings from backend config validation
9 years ago
Martin Atkins 31d556894f command: shallow UI-focused rename of "environment" to "workspace"
9 years ago
David Glasser c25d848ffb core: allow overriding environment name via env var
9 years ago
James Bardin 2bfcdbbd08 change init args to remove source copy
9 years ago
James Bardin d1c50efb01 change providers.json to lock.json
9 years ago
James Bardin 08592c2602 update plugin name in command test
9 years ago
James Bardin a529b64cc8 better init error output
9 years ago
James Bardin fdbfc17fae missing constraints passed erroniously
9 years ago
Martin Atkins 766f8e5d64 command init: remove confusing uses of "environment" in the usage
9 years ago
Martin Atkins 3c429b3628 command init: show log output for each provider plugin downloaded
9 years ago
Martin Atkins 4571a16b15 command: remove Meta.forceProviderSHA256s
9 years ago
Martin Atkins 9aae06db97 command: update mockGetProvider.GetProvider for new interface
9 years ago
Martin Atkins 4ba20f9c1c command init: show suggested constraints for unconstrained providers
9 years ago
James Bardin e0f2235f66 update init command with new GetProvider signature
9 years ago
Martin Atkins 032f71f1ff command: produce provider lock file during "terraform init"
9 years ago
Martin Atkins 6ba6508ec9 command: pass the locked plugin hashes into ContextOpts
9 years ago
Martin Atkins 720670fae7 command: helper to manage the provider plugins lock file
9 years ago
Martin Atkins 7d0a98af46 command: provider resolver to also check SHA256 constraints when set
9 years ago
Martin Atkins e3401947a6 plugin/discovery: PluginRequirements can specify SHA256 digests
9 years ago
Martin Atkins 9a398a7793 command: require resource to be in config before import
9 years ago
Martin Atkins 7d8719150c command: validate import resource address early
9 years ago
Martin Atkins f6305fcc27 command: remove commented-out, misplaced tests
9 years ago
James Bardin 044ad5ef59 rename some Constraints methods per code review
9 years ago
James Bardin 2994c6ac5d add init getPlugin test
9 years ago
James Bardin 4c32cd432a make getProvider pluggable
9 years ago
James Bardin 66ebff90cd move some more plugin search path logic to command
9 years ago
James Bardin 2749946f5c basic plugin getter
9 years ago
James Bardin 7d2d951f27 Rename VersionSet to Constraints
9 years ago
James Bardin 718ede0636 have Meta.Backend use a Config rather than loading
9 years ago
Martin Atkins 3af0ecdf01 command: "terraform providers" command
9 years ago
Martin Atkins 4ab8973520 core: provide config to all import context tests
9 years ago
Martin Atkins c835ef8ff3 Update tests for the new ProviderResolver interface
9 years ago
Martin Atkins 7ca592ac06 core: use ResourceProviderResolver to resolve providers
9 years ago
Martin Atkins d6b6dbb5c6 command: correct provider name in the test fixture for push
9 years ago
Martin Atkins 9b4f15c261 plugin: move Client function into plugin, from plugin/discovery
9 years ago
Martin Atkins 8364383c35 Push plugin discovery down into command package
9 years ago
Jake Champlin 7894478c8c Merge pull request #14681 from svanharmelen/f-review
9 years ago
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)
10 years ago
Roberto Jung Drebes e3934c23c8 provider/dns: DNS dynamic updates (RFC 2136)
10 years ago
James Bardin 0c1b138719 Add state locking during backend init
10 years ago
James Bardin 5c2e945b3c Fix format string and typos
10 years ago
Mitchell Hashimoto a5ab6e447b command/apply: update help text to be "parallel" instead of concurrent
10 years ago
James Bardin 5ca5a3c78a Merge pull request #11724 from hashicorp/jbardin/state-locking
10 years ago
James Bardin 65abe98047 Remove lock command and rename lock/force-unlock
10 years ago
Mitchell Hashimoto 0c97c5a3d9
command: tests should move to temporary cwd
10 years ago
James Bardin 015198ca11 Add lock/unlock commands
10 years ago
James Bardin b80ae5e13e Add source path argument to testLockState
10 years ago
James Bardin eb8e5ac739 Change CLI flag to '-lock'
10 years ago
James Bardin 07903189f1 s/Meta.lockState/Meta.stateLock/g
10 years ago
James Bardin cd96bb5aca Add test/untaint tests with locked state
10 years ago
James Bardin 82e59cd826 Add test for destroy with locked state
10 years ago
James Bardin 9fa436e0bd Add test for locked state in plan
10 years ago
James Bardin f3e4c05250 build the statelocker binary before running
10 years ago
James Bardin bd65ddbcaa Add test for apply/refresh on locked state files
10 years ago
James Bardin fb60b6f6f2 Add separate program for locking state files
10 years ago
James Bardin 6a20c35d61 apply-test
10 years ago
James Bardin 91608843a4 Add state locking in taint/untaint
10 years ago
James Bardin a157ebbccd add -lock-state usage to plan/refresh/apply/destr
10 years ago
James Bardin 94f2f4d6ae Create state files first for backup tests
10 years ago
James Bardin dd19cb202d add locking to plan and refresh commands
10 years ago
James Bardin 9cdba1f199 enable local state locking for apply
10 years ago
James Bardin 9acb86a182 Merge pull request #11187 from hashicorp/jbardin/state-locking
10 years ago
Seth Vargo 0d39123cb0
Update error message when no outputs are defined
10 years ago
Seth Vargo 037d4b6c87
Suggest refresh instead of apply
10 years ago
James Bardin 11d601ad6d TestRefresh_badState can be re-enabled
10 years ago
James Bardin 1380bbedb2 don't print err in Fatalf when it's nil
10 years ago
James Bardin b8bd4846db fix test despite original comments
10 years ago
James Bardin 39ca4fa2f8 Ensure that backend tests check for data in state
10 years ago
James Bardin 8f7f1917f2 Remove state file data when writing a nil state
10 years ago
James Bardin eb59b5925e Fix some tests, and make rest fail with good errs
10 years ago
Mitchell Hashimoto 61881d2795 Merge pull request #10934 from hashicorp/f-provisioner-stop
10 years ago
Mitchell Hashimoto b8c310c61e
command: update test failure to correct message
10 years ago
Mitchell Hashimoto 09242fab09
terraform: remove legacy graph builder
10 years ago
Mitchell Hashimoto 83cc54bfbe
updated generate output
10 years ago
Mitchell Hashimoto 09e0727d5e
command/plan: revert test change on this output
10 years ago
Mitchell Hashimoto d9bc1572eb
command: remove old State funcs
10 years ago
Mitchell Hashimoto ad7b063262
command: convert to use backends
10 years ago
Mitchell Hashimoto 9654387771
command: meta.Backend is used for initializing the backend
10 years ago
Mitchell Hashimoto 0a0842a7d9
command/format: a package for formatting plans/state for output
10 years ago
Mitchell Hashimoto f84fd39ef9
command/import: document -var-file and -var is available #11211
10 years ago
Paul Stack 987b910828 Ns1 provider (#10782)
10 years ago
Paul Stack 798bf60ef9 command/plugin_list: Adding Alicloud to the plugin list file (#11292)
10 years ago
Jasmin Gacic 7e9c850936 Terraform ProfitBricks Builder (#7943)
10 years ago
clint shryock 87bb691800 Revert "New provider arukas (#10862)"
10 years ago
Kazumichi Yamamoto 9176bd4861 New provider arukas (#10862)
10 years ago
Tom Harvey 05d00a93ce New Provider: OpsGenie (#11012)
10 years ago
Máximo Cuadros 85f0fba9f9 Ignition provider (#6189)
10 years ago
Paul Tyng 3dfe5a47f1
provider/newrelic: Add new provider for New Relic
10 years ago
Mitchell Hashimoto 751e45c1d2 Merge pull request #10654 from hashicorp/b-vars
10 years ago
Mitchell Hashimoto 1c537f6295 Merge pull request #10639 from hashicorp/b-plan-plan
10 years ago
Mitchell Hashimoto 36ff8b3c02
command/plan: show a warning when a plan file is given
10 years ago
Len Smith 015e96d0dd Initial check in for Icinga2 Provider/Resource (#8306)
10 years ago
Mitchell Hashimoto 77efacf30e
command: use helper/variables for flags and parsing
10 years ago
James Bardin fc13a1b814 Disaply interpolation strings for computed fields
10 years ago
Mitchell Hashimoto 7f87a0109b
command/plan: user friendly error if plan file given to plan command
10 years ago
Mitchell Hashimoto a4ceb4a772 Merge pull request #10518 from hashicorp/b-graph
10 years ago
Martin Atkins e772b45970 "external" data source, for integrating with external programs (#8768)
10 years ago
John Engelman 243ecf3b4f [Provider] Rancher (#9173)
10 years ago
Mitchell Hashimoto 22e868b966
command/graph: update for new graphs
10 years ago
Mitchell Hashimoto a2f3259e51 Merge pull request #10404 from hashicorp/b-plan-deposed
10 years ago
Mitchell Hashimoto 2f8bf5b7ec
terraform: add variables to Interpolator value
10 years ago
Mitchell Hashimoto ab1e512ae2
command: use reset instead of reset_bold
10 years ago
Mitchell Hashimoto 80457b689c
terraform: do the deposed check within EvalDiff
10 years ago
Mitchell Hashimoto 8701434b4d
command: plan formatting for deposed destroy
10 years ago
Mitchell Hashimoto 28d933f6dd
nitpicks for #10310
10 years ago
Mitchell Hashimoto c15754c365 Merge pull request #10310 from spangenberg/custom-import-provider
10 years ago
Daniel Spangenberg 804a5bd3c5 Implements import with specified provider
10 years ago
James Bardin bf20db688c Remove extra dot from state backup file
10 years ago
Mitchell Hashimoto 251231e3ee
command: more manageable shadow error output
10 years ago
James Bardin b8adf10236 Add debug command with json2dot
10 years ago
Mitchell Hashimoto aaf1ad0532 Merge pull request #10093 from hashicorp/f-console
10 years ago
James Bardin 28d406c040 Provider a marshaler for dag.Graph
10 years ago
Mitchell Hashimoto 1a6056b287
command: split out and tag code so compilation works on Solaris
10 years ago
Mitchell Hashimoto a867457d75
command/console
10 years ago
Mitchell Hashimoto 785cc7b78a
terraform: default new graphs on, old graphs behind -Xlegacy-graph
10 years ago
Mitchell Hashimoto fd498fbfff Merge pull request #9538 from hashicorp/f-nomad-provider
10 years ago
Mitchell Hashimoto f8ec7dad19
command/import: allow the -config flag to specify a config location
10 years ago
Mitchell Hashimoto ec0ef95c6f
terraform: verify import providers only depend on vars
10 years ago
Mitchell Hashimoto 5107c33119
command/import: load configurations and allow empty config dirs
10 years ago
Mitchell Hashimoto 646b3c1b68 Merge pull request #9158 from hashicorp/f-vault-provider
10 years ago
Mitchell Hashimoto 57c0cadc79 Merge pull request #9666 from hashicorp/jbardin/debug
10 years ago
Mitchell Hashimoto f6dacab0ba Merge pull request #9794 from hashicorp/b-partial-input
10 years ago
James Bardin 797a1b339d DebugInfo and DebugGraph
10 years ago
Mitchell Hashimoto d429e82661
command: show shadow errors to the user
10 years ago
Mitchell Hashimoto 6c801d0386
command/apply: add additional nil check to loading state for outputs
10 years ago
Mitchell Hashimoto 1248b147ac
command/meta: always ask for unset variable input
10 years ago
Mitchell Hashimoto ab0b7e2d89 Merge pull request #9660 from hashicorp/b-validate-help
10 years ago
Mitchell Hashimoto 314a8ed134 Merge pull request #9706 from hashicorp/b-apply-plan
10 years ago
Calle Pettersson 51ff5cba38 Align the help string of output with documentation (#9735)
10 years ago
Martin Atkins b2b5831205 "vault" provider registration
10 years ago
Mitchell Hashimoto 2019a44f04
command/apply: apply from plan respects -backup and -state-out
10 years ago
Mitchell Hashimoto b2950bc205
command/validate: respond to --help
10 years ago
Mitchell Hashimoto 69b32223b8 Merge pull request #9633 from hashicorp/f-experiment
10 years ago
Mitchell Hashimoto 9c2014d5b6 Merge pull request #9642 from hashicorp/b-var-bool
10 years ago
Mitchell Hashimoto f9b0207304
command: FlagTypedKV parses bool as string
10 years ago
James Bardin 43f860ddfd Fix panic during "terraform show" with empty state
10 years ago
Mitchell Hashimoto af82be19ea
helper/experiment: a helper for setting, making experiments
10 years ago
Mitchell Hashimoto aed23a0a31 Merge pull request #9527 from hashicorp/f-destroy-builder2
10 years ago
Mitchell Hashimoto bb5f6498e2
provider/nomad
10 years ago
Alexander Hellbom d02067a75e Add PagerDuty provider
10 years ago
Mitchell Hashimoto 1a418c1452
command/apply: -Xnew-destroy
10 years ago
Mitchell Hashimoto ae4f79e3b6
command/meta: add -shadow flag to disable shadow graph
10 years ago
Mitchell Hashimoto e8516f259d
command/apply: Xnew-apply
10 years ago
Mitchell Hashimoto ec15783f24
-Xnew-apply to enable the new apply graph
10 years ago
James Bardin f175497dd7 Fix vet issues
10 years ago
James Bardin 54d50c90b1 Make TestApply_parallelism more reliable
10 years ago
James Bardin 4f91507d05 Merge pull request #9268 from hashicorp/jbardin/hcl-maps
10 years ago
James Bardin 9fc50a76c3 Get rid of the list when parsing HCL maps for vars
10 years ago
James Bardin 286fea571f Fix push test to use something that is HCL
10 years ago
James Bardin cf1cfccf06 Don't parse a TestFlagTypedKV value as a number
10 years ago
stack72 a2970e631c
Merge branch 'cwood/bitbucket-provider' of https://github.com/cwood/terraform into cwood-cwood/bitbucket-provider
10 years ago
Mitchell Hashimoto 609219fc65 command/meta: validate config immediately
10 years ago
Mitchell Hashimoto fad1ce9915 Merge pull request #8620 from hashicorp/b-var-input
10 years ago
Mitchell Hashimoto c84f699158
update HCL vendor
10 years ago
Paul Stack 05994cef31 Merge pull request #7694 from jtopjian/provider-rabbitmq
10 years ago
Mitchell Hashimoto 0a2b5de67f
command: more resilient HCL check for inputs
10 years ago
Joe Topjian c2469c95f4 provider/rabbitmq: Initial Commit of RabbitMQ Provider
10 years ago
Mitchell Hashimoto 475d8750bb
command/push: make test more resilient
10 years ago
Radek Simko 8494cad8c4 Output 'destroy complete' when it's destroy (was: apply) (#8453)
10 years ago
Mitchell Hashimoto 2f8baa4580
command/push: fix tests to be vcs=false GH-8478
10 years ago
Mitchell Hashimoto 9a8209cfbd
command/push: create the proper parent directory entries in tar
10 years ago
Mitchell Hashimoto 928fdff33e
command/push: only add module directory to tar if it exists
10 years ago
Mitchell Hashimoto 92b15de080
command/push: remove the old test fixture for the new one
10 years ago
Mitchell Hashimoto a650455ed6
command/push: only explicitly include the state
10 years ago
Mitchell Hashimoto 3aecc52bf3
command/push: "Extra" value must be absolute
10 years ago
Mitchell Hashimoto f0de3c3e91
command/push: removed all the git stuff, turns out it doesn't matter
10 years ago
Mitchell Hashimoto e8267f4907
command/push: failing test for pushing with no modules
10 years ago
Mitchell Hashimoto 70cc108614
Revert "command/push: test that -upload-modules=false works"
10 years ago
Mitchell Hashimoto edda576452
command/push: test that -upload-modules=false works
10 years ago
Mitchell Hashimoto 2ac142abc3
command: use bufio.ReadString instead of scanning to get spaces
10 years ago
Mitchell Hashimoto d3792e4aef
command: correct outdated comment
10 years ago
Mitchell Hashimoto 43cfd3d1c9
command: fix regressions for state mv with count resource
10 years ago
Mitchell Hashimoto 0d1ea84d39
command: test for moving resource with count [GH-7797]
10 years ago
Mitchell Hashimoto 3b3f92cd9b
terraform: fix some test failures on state add with multiple modules
10 years ago
Mitchell Hashimoto a44c8b8760
terraform: state mv tests
10 years ago
James Nugent f933b2cf16 Merge pull request #8200 from hashicorp/fix-state-rm
10 years ago
Paul Stack 4d46812bab Update state_rm_test.go
10 years ago
Mitchell Hashimoto 3fdc08a9eb core: Add `terraform state rm` command and docs
10 years ago
Paul Hinze 84bbbfbe18
command: Fixup comment typo
10 years ago
Paul Hinze 50df583ffd Merge pull request #8120 from hashicorp/jbardin/null-state-module
10 years ago
James Bardin 1be5a650fc Add test for showing an empty state
10 years ago
James Bardin 191d7c1007 Fix panic when showing empty state
10 years ago
James Bardin cdb80f68a8 Ensure better state normalization
10 years ago
James Nugent e181d753fe build: Fix ordering of plugin list
10 years ago
Colin Wood bd9ddff0cc Bitbucket provider for terraform
10 years ago
Brad Sickles 70cadcf31d Implement archive provider and "archive_file" resource. (#7322)
10 years ago
James Bardin 1322aaf473 Merge pull request #7989 from hashicorp/jbardin/tf_push
10 years ago
James Bardin 67bd4f29e0 Override atlas variables even if they aren't local
10 years ago
James Bardin d5fbb5f5c0 Modify the tfvars test to also use a cli var
10 years ago
James Bardin 9d0faa2cae Strip off extra \n in hcl encoded variables
10 years ago
James Bardin bf83b435e1 numeric variables aren't always interpreted as str
10 years ago
James Bardin 1af7ee87a2 Silence log output when not verbose
10 years ago
James Bardin 2747d964cb Merge pull request #7877 from hashicorp/jbardin/races
10 years ago
James Nugent 9034196baf Merge pull request #7875 from hashicorp/b-outputs-by-module
10 years ago
James Nugent 0e4e94a86f core: Fix -module for terraform output command
10 years ago
James Bardin 5802f76eaa Make all terraform package tests pass under -race
10 years ago
James Bardin 0c714592f0 Fix variable handling on subsequent pushes
10 years ago
James Bardin b4b70193d2 whitespace fixes
10 years ago
James Bardin 8038e60a20 Add a function to quote HCL strings
10 years ago
James Bardin de87267697 Add tf_vars to the variables sent in push
10 years ago
James Nugent 681d94ae20 core: Allow lists and maps as variable overrides
10 years ago
James Bardin 2712328d5a Merge pull request #7756 from hashicorp/jbardin/tf-atlas-version
10 years ago
James Bardin 885935962c Add a terraform version header to all atlas calls
10 years ago
David Glasser 50959a654c command: Remove second DefaultDataDirectory const (#7666)
10 years ago
James Nugent 3735140286 core: Don't set variables for Atlas until lib is updated
10 years ago
James Nugent 5d18f41f04 core: Convert context vars to map[string]interface{}
10 years ago
Raphael Randschau 9081cabd6e Add scaleway provider (#7331)
10 years ago
James Nugent b4048dfc1d core: Add -json flag to `terraform output`
10 years ago
James Nugent ef3aad1231 core: Correctly format nested outputs
10 years ago
James Nugent 1ca51ab454 Merge pull request #7589 from hashicorp/b-data-source-plan-counts
10 years ago
Derek Abdine 7bdc060d24 provider/logentries: Implementing logentries provider (#7067)
10 years ago
Paul Hinze d5a941a0a4
command: Do not count data sources in plan totals
10 years ago
James Bardin b0b2923027 Merge pull request #7443 from hashicorp/jbardin/GH-7264
10 years ago
James Bardin 6b5ee73e86 Use -state-out option when applying from a plan
10 years ago
James Bardin db83a779ab Fix plan output for data sources
10 years ago
James Nugent b190aa05a5 core: Add missing OutputStates in synthetic state
10 years ago
James Nugent aa5dc453ee cli: Fix registration of `state mv`.
10 years ago
James Nugent 75ab4a9970 core: Fix crash with tainted resource
10 years ago
James Nugent 7aec98237c core: Format empty lists and maps in output
10 years ago
Paul Hinze 1a0893ddc7
command/plan: remove -backup from help text
10 years ago
Maxime Bury c98f391bee Add basic implementation for remote state on azure (#7064)
10 years ago
James Nugent c96a8d5302 core: Update `terraform show` to deal with lists
10 years ago
Matt Morrison cbfb4d8b86 remote state: Add GCS provider for remote state
10 years ago
Chris Marchesi 9d7fb89114 core: Adding Sensitive attribute to resource schema
10 years ago
James Nugent 5a0f6565d3 Merge pull request #6672 from apparentlymart/random-provider
10 years ago
Sander van Harmelen d97b24e3c1
Add tests and fix last issues
10 years ago
Sander van Harmelen 8560f50cbc
Change taint behaviour to act as a normal resource
10 years ago
Paul Hinze aee1520ac5
core: Make refresh message explicitly point out lack of state persist
10 years ago
Paul Hinze ae73aa2fb4
core: Do not persist state after plans
10 years ago
James Nugent 28ad394264 build: Update generated internal plugin list
10 years ago
James Nugent 8e732c104b core: Error over panic if output type unknown
10 years ago
James Nugent 3ea3c657b5 core: Use OutputState in JSON instead of map
10 years ago
Martin Atkins 3e34ddbf38 New "random" provider, representing randomness
10 years ago