Commit Graph

1861 Commits (3c8a4e6e05afefb7639bf30efa852cf59f14ade6)

Author SHA1 Message Date
Alisdair McDiarmid 57879bfb71 cli: Add global view arguments parser
5 years ago
Alisdair McDiarmid c5a6aa31d3 cli: Add initial command views abstraction
5 years ago
Alisdair McDiarmid 943df48491 cli: Optimize for large multi-line string outputs
5 years ago
Alisdair McDiarmid 4991cc4835 cli: Improve error for invalid -target flags
5 years ago
Alisdair McDiarmid 7cae76383a cli: Fix for provider requirements in JSON plan
5 years ago
Alex Chan 4ec80fa18d Correct the spelling of heirarchy/hierarchy throughout
5 years ago
Alisdair McDiarmid d7613a0aac cli: Better diagnostics for apply positional args
5 years ago
Alisdair McDiarmid b2ba650c21 cli: Remove deprecated destroy -force flag
5 years ago
James Bardin 1e5a8e4dae fix concurrent test relying on sleep
5 years ago
Alisdair McDiarmid 888f36aebb cli: Remove positional plan argument from graph
5 years ago
Alisdair McDiarmid ca23a096d8 cli: Remove legacy positional path arguments
5 years ago
Brian Flad 70aac9c551
command: Use different warning messaging in init command and move above potentially confusing output (#27514)
5 years ago
Alisdair McDiarmid 5ca118b4e6 cli: Move resource count code to command package
5 years ago
Pam Selle 29dd334fe8
Merge pull request #27611 from hashicorp/pselle/ignore-remote-version-docstring
5 years ago
Pam Selle c1ede28a15 Update docstring for ignore-remote-version
5 years ago
Alisdair McDiarmid 2e62e03b64 cli: Remove dead code for output -module flag
5 years ago
Katy Moe de31787966 add missing import
5 years ago
Katy Moe 51c687c2db command: no visual warning hierarchy in -no-color
5 years ago
Katy Moe bc51932e08 refactor: extract appendSourceSnippets
5 years ago
Jonathan Hall 49ee3d3ef8 Grammar nit: "setup" as a verb should be spelled "set up"
5 years ago
Pam Selle 35d5ea5455 Update state mv help docs to use spaces instead of tabs
5 years ago
Pam Selle e1b0e3ce92 Remove -module option for taint and untaint
5 years ago
Alisdair McDiarmid 75d38b50b1 docs: Note: state pull upgrades to current version
5 years ago
Nick Fagerlund a60120477c Update links to CLI docs in code comments, messages, and readme
5 years ago
Nick Fagerlund ed7f97c34f Update language docs URLs in code and tests
5 years ago
James Bardin 9f2a6d33be move remaining helper packages to internal
5 years ago
Alisdair McDiarmid a7d50d3264
Merge pull request #27545 from hashicorp/alisdair/remote-backend-version-check-state-migration
5 years ago
James Bardin 21896f74af builtin provisioner e2e test
5 years ago
Alisdair McDiarmid 212a97c3bd cli: Fix state migration remote version check
5 years ago
Martin Atkins e865faf318 command: Better visual hierarchy for diagnostics
5 years ago
Alisdair McDiarmid a15c5c84a3
Merge pull request #27498 from hashicorp/alisdair/fix-remote-terraform-version-check-again
5 years ago
Pam Selle 4ffacc8d4a
Merge pull request #27502 from hashicorp/pselle/untaint-missing
5 years ago
Pam Selle 1e10051cad
Merge pull request #27501 from hashicorp/pselle/taint-err
5 years ago
Martin Atkins 1f1af87dea command/format: Don't try to fill the last terminal column
5 years ago
Martin Atkins 0c84a56700 command/format: Use box drawing chars for rules in diagnostics
5 years ago
Martin Atkins e6a516d87e backend/local: Use terminal properties to tweak the plan output
5 years ago
Martin Atkins d2c3403ab6 command: Use the new terminal.Streams object
5 years ago
Pam Selle e6d02aec16
Merge pull request #27482 from hashicorp/pselle/state_mv
5 years ago
Pam Selle b25d0251ca Add name to untaint missing warning
5 years ago
Pam Selle 67853d8fa8 Show resource name in taint -allow-missing warning
5 years ago
Pam Selle d34e1d926a
Merge pull request #27484 from hashicorp/pselle/revision
5 years ago
Alisdair McDiarmid ddac282553 cli: Fix double check of remote workspace version
5 years ago
James Bardin 3bc7d77230 update MockProvider usage
5 years ago
Pam Selle 83e6703bf7 Remove revision from version command
5 years ago
Pam Selle 9371b60d71 More verbose error for whole resource move failure
5 years ago
Pam Selle 52c77ba33e Print addresses in state mv errors
5 years ago
Pam Selle 0d87c66211
Merge pull request #27463 from hashicorp/pselle/get-plugins
5 years ago
Pam Selle 801f8aa0b7
Merge pull request #27461 from hashicorp/pselle/verify-plugins
5 years ago
Pam Selle 462caaf538
Merge pull request #27464 from hashicorp/pselle/init-lock
5 years ago
Jacob Martin b49655724d
command: Fix terraform show not outputting child_modules properly in certain circumstances (#27352)
5 years ago
Pam Selle bbcf6ae20b Remove state lock flags from init
5 years ago
Pam Selle 5ad6100ff3 Remove get-plugins
5 years ago
Pam Selle da5a28e6ae Remove verify-plugins flag
5 years ago
Kristin Laemmert 8bab3dd374
command/state list: list resources in nested and expanded modules (#27268)
5 years ago
Alisdair McDiarmid e7db580e67
Merge pull request #27265 from hashicorp/alisdair/validate-json-tests
5 years ago
Kristin Laemmert 8a4891383c
console: normalize module path before building context (#27263)
5 years ago
Alisdair McDiarmid f1b95788b9 command: Add tests for terraform validate -json
5 years ago
Martin Atkins bab4979128 command/init: Remove the warnings about the "legacy" cache directory
5 years ago
Martin Atkins 4b3e237668 command/init: Hint about providers in other namespaces
5 years ago
Alisdair McDiarmid 4b9dada877 command: Revert local patch for pkg/browser
5 years ago
Martin Atkins 3268a7eaba command/output: Raw output mode
5 years ago
Pam Selle b963ea8594 Update docs and add warning for -get-plugins
5 years ago
James Bardin dcf0dba6f4
Merge pull request #27081 from hashicorp/jbardin/staticcheck
5 years ago
Kristin Laemmert 3fa063b8dc
command/format: concise diff is now the default (#27079)
5 years ago
James Bardin 0b4c96fa92 command/jsonprovider: staticcheck
5 years ago
James Bardin 41d4dd82d6 format staticcheck
5 years ago
James Bardin a1d41504f2 e2etest staticcheck
5 years ago
James Bardin 1c58c6ba48 command staticcheck
5 years ago
James Bardin ccf0d8815f staticcheck
5 years ago
James Bardin 2016b6bd1c validate is no longer called from there
5 years ago
James Bardin 8b08ebc4b5 consistent recievers
5 years ago
James Bardin 6f577abc72 unused
5 years ago
James Bardin f521fcca97 cleanup error handling and some for loops
5 years ago
James Bardin f8ccbcd3bb Add e2e test for provisioner plugin
5 years ago
James Bardin 76cb40005a add grpcwrap.Provisioner
5 years ago
James Bardin 5e089c2c09 run built-in provisioners in-process
5 years ago
James Bardin dc9ded8618 remove old version call site
5 years ago
James Bardin e4c72015a3 remove old test provider from e2e tests
5 years ago
James Bardin e998882824 remove legacy types from command package
5 years ago
James Bardin 811a3a81e9 add test provider bin for e2etest
5 years ago
James Bardin 75bbf0b62b udpate e2etest to use internal/legacy
5 years ago
Pam Selle c6ab9b1553
Merge pull request #26938 from hashicorp/pselle/remove-vendor-provisioners
5 years ago
James Bardin a75dcd4be0 warning are now in stdout
5 years ago
Alisdair McDiarmid 42437482e5
Merge pull request #26947 from hashicorp/alisdair/backend-validate-remote-backend-terraform-version
5 years ago
Martin Atkins 0a596d2a12 command/version: Report the current platform
5 years ago
Alisdair McDiarmid c5c1f31db3 backend: Validate remote backend Terraform version
5 years ago
Alisdair McDiarmid 21d80a26ea command: Fix fmt to preserve blank block labels
6 years ago
Pam Selle e39e0e3d04 Remove vendor provisioners and add fmt Make target
6 years ago
Alisdair McDiarmid 10cc25fc21 terraform: Compare locks and provider requirements
6 years ago
James Bardin e7b2d98ca3 Use prepared config in provider.Configure
6 years ago
Alisdair McDiarmid b90994deac
Merge pull request #26735 from hashicorp/alisdair/disable-terraform-state-file-version-check
6 years ago
Martin Atkins d24fdce5b8 command/format: Include unknown values in diagnostics
6 years ago
James Bardin d1ac382ec9
Merge pull request #26738 from hashicorp/jbardin/eval-diagnostics
6 years ago
Alisdair McDiarmid dc2e7520e5 states: Disable Terraform version check
6 years ago
Pam Selle 92a8d2061c
Merge pull request #26739 from hashicorp/pselle/show-json
6 years ago
Pam Selle f61a342311 Hide sensitive outputs in terraform show
6 years ago
Pam Selle 66091ae36c Unmark values before showing in JSON
6 years ago
James Bardin f987b69777 interrupted execution now exits with an error
6 years ago
Martin Atkins c94a6102df command: Improve consistency of the command short descriptions
6 years ago
Martin Atkins 39504ede05 command: Remove the useless "debug" subcommand
6 years ago
James Bardin f8893785f0 separate core and provider loggers
6 years ago
James Bardin bc1a841d65
Merge pull request #26665 from hashicorp/jbardin/logging
6 years ago
James Bardin ef4fee5acb warnings are now on stderr
6 years ago
James Bardin c2af5333e8 use a log sink to capture logs for panicwrap
6 years ago
Bishwa Shrestha c41336bc77
Exit with error if UI input scan fails (#26509)
6 years ago
Alisdair McDiarmid 7a31e56cb7
Merge pull request #26637 from hashicorp/alisdair/fix-locksfile-unconstrained-versions
6 years ago
Kristin Laemmert 9d623290f4 command/e2etest: do not leave bad directories behind
6 years ago
Alisdair McDiarmid 9576a5b2d8 internal: Fix lockfile constraint output for 1.2.*
6 years ago
James Bardin 0b31ffa587 use a single log writer
6 years ago
James Bardin abf6b9b378 get properly configured hcloggers
6 years ago
James Bardin 6ca477f042 move helper/logging to internal
6 years ago
Martin Atkins 30204ecded command/cliconfig: Allow development overrides for providers
6 years ago
James Bardin 1ecd86d08e
Merge pull request #26155 from hashicorp/unused-env-var
6 years ago
Martin Atkins 55e6f64977 internal/depsfile: Factor out our atomic file replacement logic
6 years ago
Martin Atkins e70ab09bf1 command: new cache directory .terraform/providers for providers
6 years ago
Alisdair McDiarmid c798dc98db command: Show diffs when only sensitivity changes
6 years ago
James Bardin 5eca0788c6 rely solely on the plan changes for outputs
6 years ago
James Bardin 03640057be
Merge pull request #26533 from hashicorp/jbardin/plan-output-changes
6 years ago
James Bardin d2514a9abd update new outputs plan json
6 years ago
Martin Atkins e1cf0ac801 internal/depsfile: Control how the "hashes" value is formatted
6 years ago
Martin Atkins e270291f19 command: terraform providers lock
6 years ago
Martin Atkins 2611e08430 command/init: Mention using the lock file for provider selection
6 years ago
Martin Atkins b3f5c7f1e6 command/init: Read, respect, and update provider dependency locks
6 years ago
Pam Selle eb2a027684
Merge pull request #26518 from hashicorp/pselle/sensitive-experiment
6 years ago
James Bardin 57a47d0b82
Merge pull request #26519 from hashicorp/jbardin/FIXME
6 years ago
James Bardin 027a6c2cf6 update command tests to use new mock provider
6 years ago
Pam Selle bc57c20d10 Remove sensitive_variables experiment
6 years ago
Kristin Laemmert 04be220f5f deprecate helper/copy
6 years ago
Alisdair McDiarmid d05e3b40bf
Merge pull request #26492 from hashicorp/alisdair/sensitive-value-force-replacement
6 years ago
Kristin Laemmert d2e999ba1f
remove unused code (#26503)
6 years ago
Alisdair McDiarmid 62e6f56a50 command: Fix missing force new for sensitive blocks
6 years ago
Alisdair McDiarmid 79a3e33c4d command: Fix missing force new for sensitive vars
6 years ago
Alisdair McDiarmid eb873f5021
Merge pull request #25725 from FGtatsuro/diff_heredoc_hyphen
6 years ago
Pam Selle c57ca152e6 Obfuscate sensitive vals in console
6 years ago
Kristin Laemmert 3933cbd491
remove LegacyProvider (#26433)
6 years ago
Pam Selle 111aadd0f0 Extend tests further
6 years ago
Pam Selle 55c96da27e Move nested block printing to own method for readability
6 years ago
Pam Selle 2ec95f1abc Make an after val unknown to exercise the known check
6 years ago
Pam Selle 73b1d8b0d1 Add special diff for nested blocks
6 years ago
Pam Selle 6617c2729c Test additions for nested blocks
6 years ago
Pam Selle 3e7be13dff Update ordering for marking/unmarking and asserting plan valid
6 years ago
Pam Selle 26f77564d7
Merge pull request #26459 from hashicorp/pselle/sensitive-vals-map
6 years ago
Pam Selle 1817c8ac3c
Merge pull request #26412 from OwenTuz/issue-26411-fix-failing-e2e-test-provider-not-found
6 years ago
Pam Selle 52b6f7f53e Move common IsMarked checks above switch statement
6 years ago
Pam Selle 1780351636 If the whole map is marked, have the same sensitivity behavior as a single value
6 years ago
Pam Selle 0520f143a2 Add diff coverage for maps
6 years ago
Kristin Laemmert d76cfc8c0c
Merge pull request #26440 from hashicorp/mildwonkey/remove-older-state-vs
6 years ago
Kristin Laemmert 479655ad47 refactor tests to use modern states.State in favor of terraform.State where possible
6 years ago
James Bardin c51104fb7c
Merge pull request #26435 from hashicorp/jbardin/races
6 years ago
James Bardin 59110a2ca5 e2etest server was unsynchronized
6 years ago