Commit Graph

1807 Commits (f-debugger)

Author SHA1 Message Date
Alisdair McDiarmid e7db580e67
Merge pull request #27265 from hashicorp/alisdair/validate-json-tests
6 years ago
Kristin Laemmert 8a4891383c
console: normalize module path before building context (#27263)
6 years ago
Alisdair McDiarmid f1b95788b9 command: Add tests for terraform validate -json
6 years ago
Martin Atkins bab4979128 command/init: Remove the warnings about the "legacy" cache directory
6 years ago
Martin Atkins 4b3e237668 command/init: Hint about providers in other namespaces
6 years ago
Alisdair McDiarmid 4b9dada877 command: Revert local patch for pkg/browser
6 years ago
Martin Atkins 3268a7eaba command/output: Raw output mode
6 years ago
Pam Selle b963ea8594 Update docs and add warning for -get-plugins
6 years ago
James Bardin dcf0dba6f4
Merge pull request #27081 from hashicorp/jbardin/staticcheck
6 years ago
Kristin Laemmert 3fa063b8dc
command/format: concise diff is now the default (#27079)
6 years ago
James Bardin 0b4c96fa92 command/jsonprovider: staticcheck
6 years ago
James Bardin 41d4dd82d6 format staticcheck
6 years ago
James Bardin a1d41504f2 e2etest staticcheck
6 years ago
James Bardin 1c58c6ba48 command staticcheck
6 years ago
James Bardin ccf0d8815f staticcheck
6 years ago
James Bardin 2016b6bd1c validate is no longer called from there
6 years ago
James Bardin 8b08ebc4b5 consistent recievers
6 years ago
James Bardin 6f577abc72 unused
6 years ago
James Bardin f521fcca97 cleanup error handling and some for loops
6 years ago
James Bardin f8ccbcd3bb Add e2e test for provisioner plugin
6 years ago
James Bardin 76cb40005a add grpcwrap.Provisioner
6 years ago
James Bardin 5e089c2c09 run built-in provisioners in-process
6 years ago
James Bardin dc9ded8618 remove old version call site
6 years ago
James Bardin e4c72015a3 remove old test provider from e2e tests
6 years ago
James Bardin e998882824 remove legacy types from command package
6 years ago
James Bardin 811a3a81e9 add test provider bin for e2etest
6 years ago
James Bardin 75bbf0b62b udpate e2etest to use internal/legacy
6 years ago
Pam Selle c6ab9b1553
Merge pull request #26938 from hashicorp/pselle/remove-vendor-provisioners
6 years ago
James Bardin a75dcd4be0 warning are now in stdout
6 years ago
Alisdair McDiarmid 42437482e5
Merge pull request #26947 from hashicorp/alisdair/backend-validate-remote-backend-terraform-version
6 years ago
Martin Atkins 0a596d2a12 command/version: Report the current platform
6 years ago
Alisdair McDiarmid c5c1f31db3 backend: Validate remote backend Terraform version
6 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
Martin Atkins 59b116f7bf command/init: Remove support for legacy provider addresses
6 years ago
Owen Tuz 5453147381 Fix bad string match that was causing TestInitProviderNotFound to fail on Macs
6 years ago
Martin Atkins f53264d378 command/init: Better error message for provider unsupported platform
6 years ago
Martin Atkins 0b734a2803 command: Make provider installation interruptible
6 years ago
Martin Atkins f0ccee854c command/0.13upgrade: Remove this subcommand
6 years ago
Kristin Laemmert fc94c819e5
command: remove unused method on pluginSHA256LockFile (#26402)
6 years ago
Nick McClendon 529ee04269
Fix taint and untaint commands when in a workspace (#22467)
6 years ago
Martin Atkins ff0dbd6215 command/fmt: Restore some opinionated behaviors
6 years ago
Martin Atkins 7951a6db0d command/fmt: Format using the full hclwrite syntax tree
6 years ago
Martin Atkins 05f6a62399 command/fmt: Factor out the actual formatting
6 years ago
Pam Selle 40ea3f4cb8
Merge pull request #26373 from hashicorp/pselle/sensitive-vals-list
6 years ago
Pam Selle 634e83ab63 Change sensitivity warning to be yellow only on 'Warning'
6 years ago
Pam Selle 3dde9efc75 Support list diffs with sensitivity
6 years ago
Pam Selle f2f84003ee
Merge pull request #26367 from hashicorp/pselle/sensitive-diff-format
6 years ago
Martin Atkins 6694cfaa0e getproviders: Add a real type Hash for package hashes
6 years ago
Pam Selle 5b549224ae Refactor to call ContainsMarked less and use len() instead
6 years ago
Alisdair McDiarmid 60c469b4a5
Merge pull request #26345 from hashicorp/alisdair/taint-should-respect-required-version
6 years ago
Pam Selle 3c9fad0b0e Move plan action check into the sensitivity warning method
6 years ago
Pam Selle 531728f6e9 Sensitive diffs for primitive types
6 years ago
Pam Selle 20921dbfb8 Add warning about sensitivity change
6 years ago
Pam Selle 0a02e7040f
Store sensitive attribute paths in state (#26338)
6 years ago
James Bardin 2e5366ac69 remove -mod=vendor from command tests
6 years ago
Alisdair McDiarmid 14a233b019 command: Taint should respect required_version
6 years ago
Alisdair McDiarmid 18f9ea53b9 command: Providers schema shows required_providers
6 years ago
James Bardin ab06f0c9f8 we can roll back the e2e tests
6 years ago
James Bardin c3182bd589 mock provider needs to return a valid response
6 years ago
James Bardin 3b3ff98356 Revert "fix show -json tests"
6 years ago
James Bardin 86dd8938c9 data sources now show up in the initial plan
6 years ago
James Bardin e54949f2e1 fix show -json tests
6 years ago
James Bardin ad5899d8bb ReadResource is called during plan but not destroy
6 years ago
Joe Ceresini 04b39372b0 Add scopes support to password grant type
6 years ago
Joe Ceresini 2ffa84a4de Add command/login test for scopes
6 years ago
Joe Ceresini 2acb7fac9f Include scopes in login URL
6 years ago
Alisdair McDiarmid 8b2b569d6e repl: Improved value renderer for console outputs
6 years ago
Pam Selle 6a126df0c6
Merge pull request #26183 from hashicorp/pselle/sensitive-values
6 years ago
Pam Selle 8d8389da74 Add diff test with a sensitive change
6 years ago
Alisdair McDiarmid 59662c01af vendor: Upgrade mitchellh/cli
6 years ago
Pam Selle e4e16ccbd3 Rebase fix
6 years ago
Pam Selle 61c78fd3b9 Add case to compactValueStr not to expose sensitive vals in diagnostics
6 years ago
Pam Selle bc55b6a28b Use UnmarkDeepWithPaths and MarkWithPaths
6 years ago
Pam Selle 896d277a69 If the path is empty, we should not be marking the path
6 years ago
Pam Selle 84d118e18f Track sensitivity through evaluation
6 years ago
Alisdair McDiarmid 09d8355f43 command: Add experimental concise diff renderer
6 years ago
Paul Tyng f3ff843ffd Remove unused env var TF_SKIP_PROVIDER_VERIFY
6 years ago
Alisdair McDiarmid 1c8a7f65d0
Merge pull request #26137 from hashicorp/alisdair/output-changes-tests
6 years ago
Martin Atkins efe78b2910 main: new global option -chdir
6 years ago
Alisdair McDiarmid ba9baac36d command: Add tests for format.OutputChanges
6 years ago
Graham Hargreaves e9394dfb38
command/clistate: Return an error on unlock failure (#25729)
6 years ago
Alisdair McDiarmid 9f824c53a5 command: Better in-house provider install errors
6 years ago
Alisdair McDiarmid 3547f9e368 format: Don't wrap space-prefixed diag details
6 years ago
Alisdair McDiarmid 6d228cc560
Merge pull request #26036 from hashicorp/alisdair/output-empty-should-be-warning
6 years ago
Alisdair McDiarmid 89e8d0868a
Merge pull request #26061 from hashicorp/alisdair/013upgrade-registry-provider-redirect
6 years ago
Kristin Laemmert 196c183dda
terraform: remove state from `validate` graph walk (#26063)
6 years ago
Alisdair McDiarmid fc7e467d19 command: Add redirect support to 0.13upgrade
6 years ago