Commit Graph

236 Commits (54b837416cbb4941fbbf5dfd2a0eb2d9caae2b5c)

Author SHA1 Message Date
James Bardin 625e768678 make sure required_version is checked before diags
5 years ago
Alisdair McDiarmid b699391d04 json-output: Add change reasons to explain deletes
5 years ago
James Bardin 9847eaa9cf remove usage of MinItems/MaxItems
5 years ago
Martin Atkins 04f9e7148c command/format: Include deletion reasons in plan report
5 years ago
Martin Atkins a1a713cf28 core: Report ActionReasons when we plan to delete "orphans"
5 years ago
Chris Arcand 171cdbbf93 command: Clean up testInputResponseMap before failing on unused answers
5 years ago
Chris Arcand 60bc7aa05d command: Auto-select single workspace if necessary
5 years ago
Chris Arcand 08a86b6c13
Merge pull request #29621 from hashicorp/error-on-unused-test-answers
5 years ago
Chris Arcand 8684a85e26 command: Ensure all answers were used in command.testInputResponseMap
5 years ago
Alisdair McDiarmid b59b057591 json-output: Config-driven move support in JSON UI
5 years ago
Alisdair McDiarmid 78c4a8c461 json-output: Previous address for resource changes
5 years ago
Martin Atkins f0034beb33 core: refactoring.ImpliedMoveStatements replaces NodeCountBoundary
5 years ago
Alisdair McDiarmid 638784b195 cli: Omit move-only drift, except for refresh-only
5 years ago
Alisdair McDiarmid 9a7bbdab6f Fix terraform add test failure due to bad merge
5 years ago
Alisdair McDiarmid d425c26d77
Merge pull request #29589 from hashicorp/alisdair/planfile-drifted-resources
5 years ago
Alisdair McDiarmid 1f57b7a8bd
Merge pull request #29235 from magodo/terraform_add_output_append
5 years ago
Alisdair McDiarmid d5b5407ccc format: Fix incorrect nesting of Color/Sprintf
5 years ago
Alisdair McDiarmid f0cf4235f9 cli: Refactor resource drift rendering
5 years ago
Martin Atkins 718fa3895f backend: Remove Operation.Parallelism field
5 years ago
James Bardin d0993b0e80 fix temp directory handling in some tests
5 years ago
Martin Atkins 65e0c448a0 workdir: Start of a new package for working directory state management
5 years ago
Martin Atkins 343279110a core: Graph walk loads plugin schemas opportunistically
5 years ago
Martin Atkins 80b3fcf93e core: Replace contextComponentFactory with contextPlugins
5 years ago
Alisdair McDiarmid cd29c3e5fd
Revert "json-output: Release format version 1.0"
5 years ago
Laura Pacilio a819d7db3a
Merge pull request #29502 from hashicorp/alisdair/json-format-version
5 years ago
Alisdair McDiarmid 7f3a29b46e
Merge pull request #29523 from hashicorp/alisdair/moved-ui
5 years ago
James Bardin 1ad0421e15
Merge pull request #29522 from hashicorp/jbardin/json-blocktoattr
5 years ago
Alisdair McDiarmid 29999c1d6f command: Render "moved" annotations in plan UI
5 years ago
James Bardin ac2a870ea0 allow json output to marshal ConfigModeAttr blocks
5 years ago
Alisdair McDiarmid b60f201eed json-output: Release format version 1.0
5 years ago
James Bardin 863963e7a6 de-linting
5 years ago
Martin Atkins 89b05050ec core: Functional-style API for terraform.Context
5 years ago
Alisdair McDiarmid 40dd4292b8
Merge pull request #29438 from hashicorp/alisdair/init-force-copy-multiple-workspaces
5 years ago
Alisdair McDiarmid 2762a940c0 command: Suppress prompt for init -force-copy
5 years ago
Alisdair McDiarmid 70a4f7a6b6 command: Fix stale lock after running add
5 years ago
Martin Atkins 43d753e727 command: "terraform add" is experimental
5 years ago
James Bardin 68ed50616e handle null and unknown values in attr diffs
5 years ago
Martin Atkins 383bbdeebc Upgrade to Go 1.17
5 years ago
James Bardin a94155d0ca
Merge pull request #29397 from hashicorp/jbardin/format-id-name-marks
5 years ago
James Bardin a48b024c0a unmark object ID or Name for formatting
5 years ago
James Bardin 296a757ab4 check for null sets in diff rendering
5 years ago
James Bardin fbfb14142e render empty nested containers as attributes
5 years ago
Vojtěch Srdečný 35115e9685 Fix CLI help text for output
5 years ago
Alisdair McDiarmid 3b33dc1105 json-output: Add output changes to plan logs
5 years ago
magodo 90e6a3dffb
modify test case
5 years ago
magodo 67afee693b
target resource in module check only when `-out` points to a module
5 years ago
magodo dea645797a
`terraform add -out` append to existing config
5 years ago
Kristin Laemmert 0b827ab6b6
format/diff: fix panic with null map in NestedType attrs (#29206)
5 years ago
Alisdair McDiarmid a456d030db Fix flapping JSON output test properly
5 years ago
Alisdair McDiarmid c51112a30c Fix flapping JSON output test
5 years ago
Alisdair McDiarmid 5a34825fc1
Merge pull request #29131 from hashicorp/alisdair/sequence-diff-commentary
5 years ago
Alisdair McDiarmid 72a7c95353
Merge pull request #29072 from hashicorp/alisdair/json-ui-resource-drift
5 years ago
Alisdair McDiarmid ef0181cfbd Add comments explaining how ctySequenceDiff works
5 years ago
Martin Atkins ab350289ab addrs: Rename AbsModuleCallOutput to ModuleCallInstanceOutput
5 years ago
Alisdair McDiarmid 71a067242d json-output: Add resource drift to machine readable UI
5 years ago
Kristin Laemmert 35c19d7c9f
command/jsonstate: remove redundant remarking of resource instance (#29049)
5 years ago
Martin Atkins 70bc432f85 command/views/json: Never generate invalid diagnostic snippet offsets
5 years ago
James Bardin c687ebeaf1
Merge pull request #29039 from hashicorp/jbardin/sensitive
5 years ago
James Bardin 55ebb2708c remove IsMarked and ContainsMarked calls
5 years ago
James Bardin d9dfd451ea update to use typed sensitive marks
5 years ago
Kristin Laemmert 096010600d
terraform: use hcl.MergeBodies instead of configs.MergeBodies for pro… (#29000)
5 years ago
Alisdair McDiarmid 3326ab7dae json-output: Omit unchanged resource_drift entries
5 years ago
Kristin Laemmert 583859e510
commands: `terraform add` (#28874)
5 years ago
Kristin Laemmert 329585d07d
jsonconfig: properly unwind and enumerate references (#28884)
5 years ago
Kristin Laemmert ac03d35997
jsonplan and jsonstate: include sensitive_values in state representations (#28889)
5 years ago
James Bardin 09c33fa449 account for noop deposed instances in json plan
5 years ago
Alisdair McDiarmid 24ace6ae7d
Merge pull request #28864 from hashicorp/alisdair/fix-remote-backend-multi-workspace-state-migration
5 years ago
Martin Atkins 1a8da65314 Refactoring of module source addresses and module installation
5 years ago
Alisdair McDiarmid 3f0c6a2217 cli: Add -ignore-remote-version flag for init
5 years ago
Alisdair McDiarmid 6692336541 cli: Fix state migration version check
5 years ago
Alisdair McDiarmid 953738c128 command/views: Remove unused drift summary message
5 years ago
James Bardin 3bf498422c typo
5 years ago
James Bardin 45b5c289a0 no drift with only deposed changes
5 years ago
James Bardin 57aa7c6025 skip drift rendering for deposed resources
5 years ago
James Bardin aae642fb07 fix schemas and add deposed test
5 years ago
Kristin Laemmert 649095c602
providers subcommand tests (#28744)
5 years ago
Kristin Laemmert 4928e1dd01
terraform: use ProtocolVersion from unmanaged providers' reattachConfig to chose the correct PluginClient (#28190)
5 years ago
Alisdair McDiarmid 5fc3ba37a6 cli: Improve sensitivity change warning output
5 years ago
Martin Atkins d35bc05312 Update various non-code references to renamed Go packages
5 years ago
Martin Atkins 36d0a50427 Move terraform/ to internal/terraform/
5 years ago
Martin Atkins f40800b3a4 Move states/ to internal/states/
5 years ago
Martin Atkins b40a4fb741 Move plugin/ and plugin6/ to internal/plugin{,6}/
5 years ago
Martin Atkins 034e944070 Move plans/ to internal/plans/
5 years ago
Martin Atkins cdd9464f9a Move lang/ to internal/lang/
5 years ago
Martin Atkins 31349a9c3a Move configs/ to internal/configs/
5 years ago
Martin Atkins ffe056bacb Move command/ to internal/command/
5 years ago