Commit Graph

453 Commits (76ea6c59cd06dbb710d0b3adbd11f9985c2f2e05)

Author SHA1 Message Date
Sharif Nassar 2e51915431 Colorize the 'forces new resource' message.
11 years ago
Paul Hinze 5a12608dc3 tests: remove unnecessary symlink
11 years ago
Radek Simko 9596271b36 Code formatted via gofmt
11 years ago
Radek Simko 10f04c90a5 'terraform output' helptext spacing fixed
11 years ago
Radek Simko 382c0ba23d command/output: Update test since we now allow printing everything
11 years ago
Eric Connell 85d1d15d81 output command supports printing all outputs
11 years ago
Radek Simko 7a60174dd1 Do not print errors via UiHook
11 years ago
Sander van Harmelen 4a8ef78d33 Fixes #2676 by prefixing all Windows commands
11 years ago
Sander van Harmelen 97fd4f5b7d Tweaking the tests
11 years ago
Radek Simko e376f61d1d core: Return correct number of planned updates
11 years ago
Mitchell Hashimoto 1f92dd5b40 command/push: update output
11 years ago
Mitchell Hashimoto c5d3c585c6 command/push: update var name
11 years ago
Mitchell Hashimoto 9d9bcc2f6e command/push: update flag to -overwrite, update docs
11 years ago
Mitchell Hashimoto 8ee3281858 command/push: UX
11 years ago
Mitchell Hashimoto dc40f044f0 command/push: prefer Atlas over local, add -set flag
11 years ago
Mitchell Hashimoto 8ebdc1e786 terraform: orphans should call post-apply hook [GH-1938]
11 years ago
Mitchell Hashimoto a76105b0f1 command: make error message clearer for invalid tfvars format [GH-1889]
11 years ago
Mitchell Hashimoto 96b53cc06c command: ask for input even if tfvars is set [GH-2161]
11 years ago
Radek Simko b505d15e1e Add resource sums to terraform plan
11 years ago
Paul Hinze 3f2119c6e7 Merge pull request #2414 from TimeIncOSS/no-color-for-subcommands
11 years ago
Paul Hinze 74fb179127 Merge pull request #2371 from hashicorp/b-fix-tf-show-with-remote-state
11 years ago
Radek Simko b7d41d2eed Add -no-color to help text
11 years ago
Radek Simko cdcd11419e Add -no-color option for subcommands
11 years ago
Paul Hinze cb5c2567b3 core: fix `terraform show` with remote state
11 years ago
Paul Hinze ad680b1832 core: show outputs after `terraform refresh`
11 years ago
Paul Hinze 18924d24fe command/apply: flatten multierrors
11 years ago
Paul Hinze aa39dc71de command/output: fix error msg typo
11 years ago
Kirill Shirinkin b05e36a6e3 Add module outputs
11 years ago
Mitchell Hashimoto 77a61157fb command/push: var/var-file supported, note in help [GH-1950]
11 years ago
Paul Hinze 8ce3e1d5b4 command/push: local vars override remote ones
11 years ago
Andrew Langhorn bb4f7415ca Rename "The The" so that they can play songs again
11 years ago
Paul Hinze 29d34cd5a4 command: allow module depth to be set via env var
11 years ago
Paul Hinze d30d88e327 Merge pull request #1655 from hashicorp/f-build-graph-during-plan
11 years ago
Paul Hinze 5f1ea7fccc command: add env var equivalent to -input arg
11 years ago
Luke Amdor b08ba78341 adding new AskSecret to ColorizeUi
11 years ago
Paul Hinze ce49dd6080 core: graph command gets -verbose and -draw-cycles
11 years ago
Paul Hinze d4b9362518 core: validate on verbose graph to detect some cycles earlier
11 years ago
Mitchell Hashimoto e91b5136bf Merge pull request #1356 from koendc/b-remote-plugin-case
11 years ago
Paul Hinze a2cb77058c command: fix push tests when running outside repo
11 years ago
Mitchell Hashimoto 650a9f372b command: implement proper module.Storage interface
11 years ago
Mitchell Hashimoto 000d28c489 command/push: read terraform.tfvars
11 years ago
Mitchell Hashimoto 1fac7b6488 state: cache should use State.Equal to check equality
11 years ago
Koen De Causmaecker 428fd98ba0 Handles upper case characters in the cached state file's remote type
11 years ago
Ryan Uber 9a091ffa78 command: plan supports detailed exit code
11 years ago
Paul Hinze 97acccd3ed core: targeted operations
11 years ago
Mitchell Hashimoto da7f307e56 command/remote-config: failing tests
11 years ago
Mitchell Hashimoto 4a7b554cf7 command/remote-config: do a pull with `terraform remote config`
11 years ago
Mitchell Hashimoto 6379a888fb command/remote-{pull,push}: colorize and show success output
11 years ago
Mitchell Hashimoto 38b1a727bf command/remote-config: lowercase the type so that Atlas works, for
11 years ago
Mitchell Hashimoto 7bfa5afd00 command/remote-config: show flag parse errors
11 years ago
Mitchell Hashimoto 35da19cc1f command/remote-config: remove weird error case that shows no error
11 years ago
Seth Vargo 1adb3fbfa0 command: when setting up state, only write back if local is newer
11 years ago
Mitchell Hashimoto 83cb277583 command/output: don't panic if no root module in state [GH-1263]
11 years ago
Mitchell Hashimoto 431f5e6706 command/remote-config: syntax
11 years ago
Mitchell Hashimoto 2796f83950 command/remote-config: make the error message nicer for remote init
11 years ago
Mitchell Hashimoto 280635d2b0 command/push: add -atlas-address
11 years ago
Mitchell Hashimoto 51614b6365 command/push: upload-modules
11 years ago
Mitchell Hashimoto 8d47f26bb7 command/push: address PR comments
11 years ago
Mitchell Hashimoto 0229852e48 command/push: change wording on error message
11 years ago
Mitchell Hashimoto 395dd04861 command/push: accept -vcs
11 years ago
Mitchell Hashimoto 86f92119e2 command/push: no version on GET should be okay
11 years ago
Mitchell Hashimoto 19c1771438 command/push: integrate atlas push client
11 years ago
Mitchell Hashimoto 1c0ffbd7bf command/push: output the name/version of the pushed configuration
11 years ago
Mitchell Hashimoto ee1ad49829 command/push: rename -module-lock to -module-upload
11 years ago
Mitchell Hashimoto da46e16f4f command/push: can set the name on the CLI
11 years ago
Mitchell Hashimoto 5e27bfc040 command/push: read name from the config
11 years ago
Mitchell Hashimoto 9062bfda89 command/meta: fix test
11 years ago
Mitchell Hashimoto eebd7b8aa3 command/push: ask for only variables that are unset
11 years ago
Mitchell Hashimoto bf14143369 command/push: test that input is asked
11 years ago
Mitchell Hashimoto d37d9ea6ef command/push: send the context variables up
11 years ago
Mitchell Hashimoto a1b424d53f command/push: properly copy the data directory no matter what
11 years ago
Mitchell Hashimoto 22087181af command/push: archive, upload
11 years ago
Mitchell Hashimoto ca8e2085f3 command/push: archiving
11 years ago
Mitchell Hashimoto c4dc9af120 command: add DataDir
11 years ago
Mitchell Hashimoto cdde9149ff command/push: start it
11 years ago
Paul Hinze 4fc5ebf47e command: warnings should not exit
11 years ago
Mitchell Hashimoto 89e7438f0f command/remote
11 years ago
Mitchell Hashimoto 01cd761023 command: move remote configuration stuff
11 years ago
Mitchell Hashimoto 71315076c3 command: autoload terraform.tfvars.json as well [GH-1030]
11 years ago
Mitchell Hashimoto 8e76a02a56 command: disable backup with "-" [GH-1072]
11 years ago
Mitchell Hashimoto 6f9a358cc4 command/taint: fix comment
11 years ago
Mitchell Hashimoto d411e2939f command/taint: -allow-missing
11 years ago
Mitchell Hashimoto 01aa4236c0 command/taint: support tainting resources in modules
11 years ago
Mitchell Hashimoto fa9b655fd1 website: docs for tainted command
11 years ago
Mitchell Hashimoto 4ec31ecb95 command/taint: new command
11 years ago
Mitchell Hashimoto 95cf69aa32 command: StateHook for continous state updates
11 years ago
Mitchell Hashimoto a655c1619a command: update help text
11 years ago
Mitchell Hashimoto 0299e60e83 command/init: -backend-config
11 years ago
Mitchell Hashimoto 84a0e512d3 command/remote: general `-config` flag
11 years ago
Mitchell Hashimoto 189e7e700a command: remove remote package
11 years ago
Mitchell Hashimoto 2c2b560d7f command/remote: no more remote package
11 years ago
Mitchell Hashimoto 0fcc417ddd command/apply: remove remote package
11 years ago
Mitchell Hashimoto 0c6d133d61 command/refresh: get rid of remote package
11 years ago
Mitchell Hashimoto 0d39a5d9a7 command/push: no more remote package
11 years ago
Mitchell Hashimoto f2c6c12535 command/pull: remove remote package
11 years ago
Mitchell Hashimoto b8a66cb6ca command: remove more remote package
11 years ago
Mitchell Hashimoto 622690583c command/init: remove dependency on remote package
11 years ago
Mitchell Hashimoto 3550f7ac3a command: FlagVar => FlagKV
11 years ago
Mitchell Hashimoto 4f91b98a3e command: default path should be the local path
11 years ago
Mitchell Hashimoto f81110c2fe command: backup stuff works better
11 years ago
Mitchell Hashimoto 4ec63bc2ef command: deal with plan states
11 years ago
Mitchell Hashimoto 579f102f37 command: start migrating to new state package
11 years ago
Mitchell Hashimoto c2593f6ada terraform: re-enable dot-graphs
11 years ago
Mitchell Hashimoto b1e5b32322 terraform: Graph returns *Graph for now
11 years ago
Radek Simko 6c8dd9e8fa Unreachable code removed
11 years ago
lalyos 92540d3d88 fixing version numbers RCs should be labeled x.x.x-rcx
11 years ago
Emil Hessman b40c2fe997 command: fix test failure on Windows
11 years ago
Emil Hessman 92e68c1ee6 command: fix test failure on Windows
11 years ago
Phil Kates b211d69dde Fix typo in refresh command error
11 years ago
Mitchell Hashimoto fb3f10efb0 command/apply: ask for user variables before validation [GH-736]
11 years ago
Mitchell Hashimoto 90138825a2 command/apply: don't init if no args given [GH-780]
11 years ago
Armon Dadgar b69239e7f8 command/meta: Adding additional nil guards
11 years ago
Armon Dadgar 408ae62306 command/apply: Handle remote state in a plan file
11 years ago
Kevin van Zonneveld 07505ed159 Fix typo: expacts -> expects
11 years ago
Emil Hessman fc36b1cd94 command: vet fix
12 years ago
Armon Dadgar cce881aadd command/show: enable printing of remote state
12 years ago
Armon Dadgar 07e5f3ff41 command/remote: Improve UI output for remote
12 years ago
Armon Dadgar bcd348aebd command: updating tests
12 years ago
Armon Dadgar 6a84be0686 command: updating for pluggable backends
12 years ago
Armon Dadgar ba01e27026 command: Refresh remote state when loading
12 years ago
Armon Dadgar dab47b0d48 command/plan: remote enable
12 years ago
Armon Dadgar b6265cf1a2 command/refresh: Remote enable
12 years ago
Armon Dadgar 0fb87e499d command: Meta provides the state output path
12 years ago
Armon Dadgar 0c9436f37b command/output: Remote enable
12 years ago
Armon Dadgar 53704db4ee command: Enable reading remote-enabled state
12 years ago
Armon Dadgar bf10111745 command/apply: Move state persistence to Meta
12 years ago
Armon Dadgar c24123ff8a command/remote: Adding tests
12 years ago
Armon Dadgar b4b44dd0a8 command/remote: Refresh state before the disable
12 years ago
Armon Dadgar 6e7cffd60b command/init: Only initialize a blank state with remote
12 years ago
Armon Dadgar 9168a0f1ce command: Simplify push/pull, depend on remote command for setup
12 years ago
Armon Dadgar 1945e2099a command/remote: Use PersistState
12 years ago
Armon Dadgar 4e44443aa3 command/remote: Working on the details
12 years ago
Armon Dadgar b3871c0c5a command/remote: Adding skeleton
12 years ago
Armon Dadgar 09d7fb7c27 command: cleanup test function names
12 years ago
Armon Dadgar 7ba0c003f2 command/push: Allow existing state file to enable remote
12 years ago
Armon Dadgar 38002904f4 command/push: Adding the push command
12 years ago
Armon Dadgar 722a885113 command/init: Testing remote flags
12 years ago
Armon Dadgar 34df217514 command/pull: Adding the pull command
12 years ago
Armon Dadgar d332b8ad58 remote: implement refresh state
12 years ago
Armon Dadgar 29b3310a49 command/init: integrate remote state storage
12 years ago
Armon Dadgar 5b745e5d46 command: Run validation before asking for input. Fixes #602
12 years ago
Emil Hessman 31dd7d8391 command/init: use a more semantic name to identiy the test routine for issue 518
12 years ago
Emil Hessman 82e4bab178 command/init: test for issue 518
12 years ago
Panagiotis Moustafellos 3d51bae4b2 switch phrasing
12 years ago
Panagiotis Moustafellos 08515edc43 fixed typo on terraform destroy
12 years ago
Mitchell Hashimoto 70191d22a6 Add checkpoint
12 years ago
Mitchell Hashimoto 5f6fe1f931 command: put the modules in ".terraform/modules"
12 years ago
Mitchell Hashimoto c6a165f8c6 command: prov UI should trim only right spaces
12 years ago
Mitchell Hashimoto fbeb99ee83 command: make sure the output has a line from a provisioner to output
12 years ago
Mitchell Hashimoto 8fc134caa1 command/destroy: don't show outputs
12 years ago
Mitchell Hashimoto bb698217f8 command: split on \r too
12 years ago
Mitchell Hashimoto 0914e17a2a command/apply: more than one ctrl-c properly exits immediately
12 years ago
Mitchell Hashimoto dac5f0e3df command/show: update help
12 years ago
Mitchell Hashimoto 069f758efb command/show: show default state with no args [GH-349]
12 years ago
Mitchell Hashimoto 16b023bd2b command: ask for the proper level of input
12 years ago
Mitchell Hashimoto 28cd738edc command: provisioner output should prefix every line
12 years ago
Mitchell Hashimoto c1fbf46a33 command: send the provisioner output to the prompt
12 years ago
Mitchell Hashimoto 063e727491 command: compilej:wq
12 years ago
Mitchell Hashimoto b2342866c9 command: UIOutput is functinal
12 years ago
Mitchell Hashimoto 6d9463bfa8 command: set UIOutput
12 years ago
Mitchell Hashimoto a5f70ead2d command: destroy should ask for confirmation always
12 years ago
Mitchell Hashimoto edbdad8fdb command: nil-check for instance state when showing state
12 years ago
Mitchell Hashimoto 95f43d8230 command/apply: if with plan, don't ask for input [GH-346]
12 years ago
Mitchell Hashimoto 817f0d9f30 command: don't ask for input if terraform.tfvars file given [GH-346]
12 years ago
Mitchell Hashimoto 2131e4ffd2 command: fix failing tests
12 years ago
Mitchell Hashimoto 245c1ce05a command: enable destroy
12 years ago
Mitchell Hashimoto ab9dd71bcb command/destroy: first steps
12 years ago
Mitchell Hashimoto 260c5301e6 command/apply: update usage
12 years ago
Mitchell Hashimoto 3572b8ff2f command/apply: allow `terraform apply SOURCE` as shortcut for init
12 years ago
Mitchell Hashimoto a7c321a028 helper/scheam: support UI defaults
12 years ago
Mitchell Hashimoto b32470f070 command: accept defaults for UI
12 years ago
Mitchell Hashimoto 99044a1f14 Add descriptions for AWS inputs
12 years ago
Mitchell Hashimoto 901c1448b4 command: make the UI a look nicer
12 years ago
Mitchell Hashimoto 63453f3f1a command: apply and refresh ask for input
12 years ago
Mitchell Hashimoto af548c9b53 command/plan: ask for input
12 years ago
Mitchell Hashimoto 5b0859b3f5 command: Input tells us whether we should ask for input or not
12 years ago
Mitchell Hashimoto a918833edd command: UIInput implementation to ask via CLI
12 years ago
Mitchell Hashimoto 3941dbac5d fmt
12 years ago
Mitchell Hashimoto e041a52dab command: test init
12 years ago
Mitchell Hashimoto f4cc2c066f command: init works at a basic level
12 years ago
Mitchell Hashimoto 615192a6c4 command: init command start
12 years ago
Mitchell Hashimoto e5e51d7b17 command: state output is well formatted for modules
12 years ago
Mitchell Hashimoto 5f791051a6 command: render new modules properly
12 years ago
Mitchell Hashimoto 8c17062638 command: plan shows module-level, can control depth
12 years ago
Mitchell Hashimoto 72e6f97093 terraform: support graphing modules
12 years ago
Mitchell Hashimoto a36b3e1ec5 command: tests pass
12 years ago
Mitchell Hashimoto 672bf58337 command: compiles, tests don't pass yet
12 years ago
Mitchell Hashimoto 6f7c3caab3 command: get supports -update
12 years ago
Mitchell Hashimoto 1b8426f7ff command: Get works
12 years ago
Mitchell Hashimoto ed538a9594 command: Get command, not functional yet. Converted to use modules.
12 years ago
Mitchell Hashimoto 82e92e7024 command: fmt
12 years ago
Mitchell Hashimoto 91eb3c73fc command: fix failing tests
12 years ago
Mitchell Hashimoto 15564b04a5 command: tests pass
12 years ago
Mitchell Hashimoto 9b2b3a963f ResourceDiff => InstanceDiff
12 years ago
Mitchell Hashimoto cdad3036ae command: closer to compiling
12 years ago
Mitchell Hashimoto b5daa2f41e command: make the default var-file flag easier
12 years ago
Mitchell Hashimoto 546865e1ee command: make sure errors from flag go to UI [GH-269]
12 years ago
Mitchell Hashimoto 7b96a9fa06 command: expand ~ manually in var-file [GH-273]
12 years ago
Mitchell Hashimoto 69294b1ba3 command: adhere to -no-color, fix test [GH-250]
12 years ago
AJ Bourg aefa4b2399 expacts -> expects. (minor)
12 years ago