Commit Graph

1703 Commits (cd4cb3f8d217a0f30ca4b69ff7ea597532c8cb09)

Author SHA1 Message Date
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
Pam Selle f2d213c461
Merge pull request #25657 from pdecat/typo_hierarchical
6 years ago
Alisdair McDiarmid 2323e9370a command: Warn instead of error for empty output
6 years ago
Alisdair McDiarmid 45437721c9 command: Add test for backend config validation
6 years ago
Alisdair McDiarmid f028b0a2bf command: Fix backend config schema validation
6 years ago