Commit Graph

584 Commits (03f6c650ca9e78fc0d80d430ca1ec2a52c262da4)

Author SHA1 Message Date
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
Martin Atkins 2ca10ad962 command: Show data source reads differently in plans
10 years ago
Martin Atkins bfee4b0295 command: don't show old values for create diffs in plan
10 years ago
Martin Atkins 5d27a5b3e2 command: Show id only when refreshing managed resources
10 years ago
Martin Atkins 60c24e3319 command: Prevent data resources from being tainted
10 years ago
Mitchell Hashimoto b728f8c018
terraform: import state ID should be sent to hook
10 years ago
Mitchell Hashimoto f6a59734ef
command: UI for import
10 years ago
Mitchell Hashimoto d6c059c43e
command/import: tests passing
10 years ago
Mitchell Hashimoto 3c9a92e04a
command: Context buliding allows empty module trees
10 years ago
Mitchell Hashimoto 182a8a28c0
command/import more wip
10 years ago
Mitchell Hashimoto ff94381e7e
command/import wip
10 years ago
Mitchell Hashimoto d94f503501
command/state meta: State func
10 years ago
Mitchell Hashimoto f34ef1f92a
command: compilation works
10 years ago
Mitchell Hashimoto 04598baa25
website: document state mv
10 years ago
Mitchell Hashimoto c966a70ff9
command: update docs for state mv
10 years ago
Mitchell Hashimoto 32d0d29b56
command: test for moving into another state file
10 years ago
Mitchell Hashimoto 235e860118
command/state mv: handle -state-out to a different path
10 years ago
Mitchell Hashimoto c4e5355a02
command/state mv
10 years ago
James Nugent 6a20e8927d core: Fix issues from rebasing dev-0.7 onto master
10 years ago
James Nugent 9d77e0af6c core: Add new providers to internal list
10 years ago
Mitchell Hashimoto 473a58a672 Add `terraform state list` command
10 years ago
Chris Bednarski e942a74def Set a log prefix for each plugin and remove go-dynect global log prefix (#6336)
10 years ago
James Nugent 991dc3f86f core: Add Cobbler provider to internal plugin list
10 years ago
James Nugent e57a399d71 core: Use native HIL maps instead of flatmaps
10 years ago
James Nugent 6aac79e194 state: Add support for outputs of multiple types
10 years ago
Chris Bednarski 6360e6c8b6 Implemented internal plugin calls; which allows us to compile plugins into the main terraform binary
10 years ago
Mitchell Hashimoto 35c87836b4 core: Add terraform_version to state
10 years ago
Mitchell Hashimoto e133452663 command/state: pattern => address
10 years ago
Mitchell Hashimoto 5737c0a13b website: update docs for state show
10 years ago
Mitchell Hashimoto f6692e66ac add command/state show
10 years ago
Mitchell Hashimoto d1b46e99bd Add `terraform state list` command
10 years ago
James Nugent b62f6af158 core: Add support for marking outputs as sensitive (#6559)
10 years ago
Dan Carley 64c1280951 command/fmt: Improve documentation for -diff and defaults (#6398)
10 years ago
Paul Hinze c74c5fe7f0
Update HCL to latest, unskip fmt tests
10 years ago
Paul Hinze ac10a7979d
command/fmt tests: temporarily skip newline failures
10 years ago
Mitchell Hashimoto 08ad84d8b2 command: defer the lock unlock
10 years ago
Mitchell Hashimoto 284bc92c04 command: show periodic messages about continued ops
10 years ago
David Glasser b44f7f28e0 Document saved plan use in `terraform apply -help` (#6126)
10 years ago
David Glasser 320773d6c1 command: delete unused class
10 years ago
Martin Atkins fa703db8a6 Merge #4955: "terraform fmt" command
10 years ago
Paul Hinze c7f5450a96 command: Add `terraform untaint`
10 years ago
Dan Carley d883b76070 command/fmt: Test non-default options
10 years ago
Dan Carley 79e2753e41 command/fmt: Disable list/write when using STDIN
10 years ago
Dan Carley e9128769b5 command/fmt: Accept input from STDIN
10 years ago
Dan Carley 1b967e612f command/fmt: Accept optional directory argument
10 years ago
Dan Carley c753390399 command/fmt: Default write and list to true
10 years ago
Dan Carley cc41c7cfa0 command/fmt: Add new fmt command
10 years ago
James Nugent b787fe2798 Merge pull request #5012 from jrnt30/TF-5011-Backend-flag-normalization
10 years ago
stack72 1628f19bc1 Fixing some golint issues on the new validate command
10 years ago
Soren Mathiasen db69a2959b Added verify command
10 years ago
Justin Nauman 61240b4250 Fixes #5011 - Backend downcased for init
10 years ago
Paul Hinze 4a51e4fe91 core: write planfile even on empty plans
10 years ago
Paul Hinze e67fc0fe9b command: Change module-depth default to -1
10 years ago
Mitchell Hashimoto 6a972a7713 command/init: put remote state config at proper path [GH-2927]
10 years ago
James Nugent a5e51f6dad command/refresh: Fix import formats to prevent flapping
11 years ago
Paul Hinze 0e277a6714 core: test coverage around map key regression
11 years ago
James Nugent 50b5e7c1a5 Validate context after input of vars on refresh
11 years ago
James Nugent 890e214c00 Add failing test replicating #4013
11 years ago
Jake Champlin 39e7f42490 Clear up `destroy --target` message
11 years ago
James Nugent a49b162dd1 Prompt for input variables before context validate
11 years ago
James Nugent f4c03ec2a6 Reflect new comment format in stringer.go
11 years ago
Paul Hinze 9428e9f1d1 command: fix failing TestPlan_noState test
11 years ago
Paul Hinze 715437537d command: fix flaky parallelism tests
11 years ago
John Gosset 61e890ecc9 Update list of backends in RemoteConfigCommand's Help() method
11 years ago
Martin Atkins e4e9c13c20 Merge #3136: Colorize the 'forces new resource' message
11 years ago
Mitchell Hashimoto 344e7c26b5 fix a bunch of tests from go-getter import
11 years ago
Panagiotis Moustafellos e4845f75cc removed extra parentheses
11 years ago
Paul Hinze 374070d066 website: docs for parallelism setting
11 years ago
Paul Hinze e1a46904d6 command: pull parallelism default up to CLI layer
11 years ago
Kevin Nuckolls bf9c5c46d0 Tests for apply parallelism=1 and parallelism=2
11 years ago
Kevin Nuckolls fc60b2858c Added -parallelism to refresh and plan cli UI
11 years ago
Kevin Nuckolls f59c71b35a works for apply, no tests yet
11 years ago
Radek Simko 57bea9f26c Merge pull request #3223 from scalp42/typos
11 years ago
Mitchell Hashimoto 4d37704d53 command/get: fix typo
11 years ago
Anthony Scalisi 198e1a5186 remove various typos
11 years ago
Martin Atkins 7c56550633 In plan summary, be more honest about force-new changes.
11 years ago
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