Commit Graph

229 Commits (356cee7b89c99ea1f77ea002bb2249b2950ad331)

Author SHA1 Message Date
Barrett Clark d29532cfeb tfc apply before init
5 years ago
Barrett Clark e49f271eb5 Update copy for terraform init with cloud block
5 years ago
Chris Arcand 09d5b70b7a command/meta_backend_migrate:Tweak multi-to-single To TFC copy
5 years ago
Omar Ismail dfb4609be2 Backend State Migration from cloud to cloud.
5 years ago
Barrett Clark 93bfcff61a More Terraform Cloud UX changes
5 years ago
Barrett Clark 261a2b49d3 UX for terraform init that copies state to TFC
5 years ago
Barrett Clark 0cd9490838 PR Feedback: cleanup variable setter
5 years ago
Chris Arcand f8256f6634 Update ux for "terraform init [-reconfigure]"
5 years ago
Omar Ismail dc76bbee73 Backend State Migration: Add remote backend test
5 years ago
Omar Ismail 3fedd6898c Backend State Migration to `cloud`: Multiple Workspaces
5 years ago
Barrett Clark edbc84420c Run apply -refresh-state instead of refresh
5 years ago
Omar Ismail 55fc590904 Teraform Cloud Backend State Migration
5 years ago
Chris Arcand fccc873a3d Remove ability to declare a 'cloud' backend
5 years ago
Chris Arcand a4c24e3147 Add cloud {} configuration block for Terraform Cloud
5 years ago
James Bardin 9b62dd6901
Merge pull request #29648 from hashicorp/jbardin/tfproto6.1
5 years ago
James Bardin d03a037567 insert panic handlers
5 years ago
James Bardin 42742c173d remove wrapped streams and readline
5 years ago
James Bardin 622c4df14c remove the use of panicwrap
5 years ago
Alisdair McDiarmid ded4f1a0fd
Merge pull request #29805 from hashicorp/alisdair/fix-init-workspace-select-input-false
5 years ago
Alisdair McDiarmid ecb98e1c43 command/init: Fail if -input=false but required
5 years ago
Alisdair McDiarmid 6d0521e6be
Merge pull request #29803 from hashicorp/alisdair/init-backend-provider-errors
5 years ago
Alisdair McDiarmid 22923f9873
Merge pull request #29793 from hashicorp/alisdair/fix-remote-backend-migrate-version-check
5 years ago
Alisdair McDiarmid d42d83572b cli: Fix backend init failure with deleted cache
5 years ago
Alisdair McDiarmid 1729431520 backend/remote: Fix version check when migrating
5 years ago
Alisdair McDiarmid 39de3ebec7 cli: Fix init failure with deleted cache
5 years ago
Alisdair McDiarmid 1190b95fe2 command/e2etest: Ensure init fixes missing cache
5 years ago
Martin Atkins 5b266dd5ca command: Remove the experimental "terraform add" command
5 years ago
Alisdair McDiarmid cdd5ee6fb3
Merge pull request #29773 from hashicorp/alisdair/init-lock-flags
5 years ago
Alisdair McDiarmid c587384dff cli: Restore -lock and -lock-timeout init flags
5 years ago
Alisdair McDiarmid fb58f9e6d2 cli: Fix flaky init cancel test
5 years ago
James Bardin ef3c98466d
Merge pull request #29755 from hashicorp/jbardin/first-plan-lineage
5 years ago
James Bardin 9c80574417 test planfile may need to have a specific lineage
5 years ago
Martin Atkins bee7403f3e command/workspace_delete: Allow deleting a workspace with empty husks
5 years ago
Alisdair McDiarmid b9f3dab035 json-output: Release format version 1.0
5 years ago
Omar Ismail bea7e3ebce
Backend State Migration: change variable names from one/two to source/destination (#29699)
5 years ago
Martin Atkins 01b22f4b76 command/e2etest: TestProviderTampering
5 years ago
Martin Atkins d09510a8fb command: Early error message for missing cache entries of locked providers
5 years ago
Martin Atkins df578afd7e backend/local: Check dependency lock consistency before any operations
5 years ago
Martin Atkins 6a98e4720c plans/planfile: Create takes most arguments via a struct type
5 years ago
Martin Atkins 8d193ad268 core: Simplify and centralize plugin availability checks
5 years ago
Zach Whaley c9a5fdb366
cliconfig: Fix error message about invalid credentials helper type
5 years ago
James Bardin ab0322e406 remove debugging println
5 years ago
James Bardin c2e0d265cf LoadModule now always returns the module
5 years ago
James Bardin a53faf43f6 return partial config from LoadConfig with errors
5 years ago
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
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