Commit Graph

664 Commits (ca517543f266d0dfb67fcddbb68e4bae54d55078)

Author SHA1 Message Date
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
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