Commit Graph

391 Commits (9d815ea7271d56a43fc45fdff186e57bfb032a06)

Author SHA1 Message Date
Martin Atkins fda0579537 Experiments supported only in alpha/dev builds
4 years ago
Alisdair McDiarmid c7bc82bd87
Merge pull request #31235 from hashicorp/alisdair/json-plan-unknown-outputs
4 years ago
Alisdair McDiarmid 9497b2cd6f json-output: Fix unknowns for tuples and sets
4 years ago
Alisdair McDiarmid 48d64eabb2 json-output: Extended detail for unknown outputs
4 years ago
James Bardin 47f9850f02 add XTerraformGetLimit to prevent redirect loops
4 years ago
kmoe 54b837416c
command: mention plan options in refresh help text (#30892)
4 years ago
Alisdair McDiarmid 06f6a901ea
Merge pull request #30985 from hashicorp/alisdair/var-flag-spaces-error
4 years ago
Martin Atkins 096f0dc0da build: Write the detected version number into the generated executable
4 years ago
Craig Wright be7f46a1ad
Merge pull request #29354 from srdecny/main
4 years ago
Martin Atkins 4cffff24b1 core: Report reason for deferring data read until apply
4 years ago
Alisdair McDiarmid 91d75baba1 cli: Improved error for invalid -var "foo = bar"
4 years ago
Alisdair McDiarmid 12c8f9498c json-output: Add output type to JSON format
4 years ago
James Bardin 7da52d94f2
Merge pull request #30900 from hashicorp/jbardin/replace-triggered-by
4 years ago
James Bardin c52e3ed37b test fixture race
4 years ago
James Bardin 3a0a019521 round-trip replace triggers
4 years ago
James Bardin 868052c9e3 set replace_trigered_by reason in diff output
4 years ago
Brandon Croft 1943af51a2
fix(creds): allow periods in TF_TOKEN_... credentials vars
4 years ago
Brandon Croft f04202d222
Update credentials_test.go
4 years ago
Brandon Croft fda05f3d44
feat(credentials): allow hyphens to be encoded as __ in variables
4 years ago
Brandon Croft 307326fa3a
allow remote service creds to be configured using env
4 years ago
Alisdair McDiarmid fadcaaaad2 cli: Fix double-quoted map keys in diff UI
4 years ago
Alisdair McDiarmid d23f0998fb cli: Fix plan diff for sensitive nested attributes
4 years ago
Eng Zer Jun fedd315275
test: use `T.TempDir` to create temporary test directory (#30803)
4 years ago
Alisdair McDiarmid bb35f02c95 Conclude preconditions/postconditions experiment
4 years ago
Alisdair McDiarmid c5d10bdef1 core: Store condition block results in plan
4 years ago
Martin Atkins 49d7c879ac Fix problems caught by staticcheck v0.3.0
4 years ago
kmoe 5907a86301
command/format: Correctly quote diff object keys (#30766)
4 years ago
James Bardin 0bd59238d6
Merge pull request #30765 from hashicorp/jbardin/contributing-attributes
4 years ago
UKEME BASSEY 1c9929a378
Merge pull request #30773 from hashicorp/uk1288/fix-for-cloud-integration-panic
4 years ago
gabriel376 f5a8608989
cli: Make state commands check required version (#30511)
4 years ago
uk1288 9093b487fd fix for cloud integration panic
4 years ago
James Bardin 09dde8d5ed improve the contributing attributes filter
4 years ago
Matthias Baur 971c899c12
Clarify multiple times usage (#30724)
4 years ago
Markus Bösling 275ff5b223
double word removed (#30679)
4 years ago
Alisdair McDiarmid b386f76b65
Merge pull request #30685 from hashicorp/alisdair/fix-30641
4 years ago
James Bardin 8c5e11d41a add relevant_attributes to the json plan format
4 years ago
James Bardin f0cd8be66f add whole resource references
4 years ago
James Bardin e2b74247f2 track contributing instances
4 years ago
James Bardin 25f4c0d3dd filter attribute refresh changes from plan UI
4 years ago
James Bardin 0e7cec83db decode change before creating diff
4 years ago
James Bardin c02e8bc5b3 change plan to store individual relevant attrs
4 years ago
Alisdair McDiarmid ad9c89fc19 cli: Fix missing identifying attributes in diff
4 years ago
James Bardin f1e8aed48d output drift footer in the right place
4 years ago
James Bardin c5c7045a89 filter out non-relevant drift changes
4 years ago
James Bardin a151aaef05 only show drift when there are changes
4 years ago
Alisdair McDiarmid 70db495d00
Merge pull request #30525 from nozaq/provider-config-default
4 years ago
Alisdair McDiarmid 3e4d6b252f jsonplan: Improve performance for deep objects
4 years ago
nozaq 3c32f7a56c
jsonconfig: add implicitly created provider configs
4 years ago
nozaq 0ce040405c
jsonconfig: fix provider mappings with same names
4 years ago
nozaq 7f4019e1f6
jsonconfig: fix keys for default providers
4 years ago
Pedro Belém aed7162e9a
cli: Fix state mv exit code for missing resource (#29839)
4 years ago
Alisdair McDiarmid fe8183c4af json: Increment JSON plan format version
4 years ago
Alisdair McDiarmid ddc81a204f json: Disregard format version in tests
4 years ago
Alisdair McDiarmid f5b90f84a8 jsonconfig: Improve provider configuration output
4 years ago
Alisdair McDiarmid 5a9bc76d1a
Merge pull request #30316 from superkooks/main
4 years ago
Krista LaFentres (she/her) 6dcf00aefc
Merge pull request #30344 from hashicorp/lafentres/refactor-show-command
4 years ago
Krista LaFentres fea8f6cfa2 cli: Migrate show command to use command arguments and views
4 years ago
Krista LaFentres 8d1bced812 cli: Refactor show command to remove dependence on local run and only load the backend when we need it
4 years ago
Martin Atkins 36c4d4c241 core and backend: remove redundant handling of default variable values
4 years ago
SuperKooks 5171c89e1e Fix autocomplete for workspace subcommands
4 years ago
Martin Atkins b802db75d7 build: Build and run e2etest as part of the release build pipeline
4 years ago
Alisdair McDiarmid 535da4ebc7
Merge pull request #30205 from hashicorp/alisdair/fix-show-plan-against-non-default-state
4 years ago
Martin Atkins 23395a1022 providercache: Discard lock entries for unused providers
4 years ago
Alisdair McDiarmid 768741c0f7 command/show: Disable plan state lineage checks
4 years ago
Chris Arcand 8b8fe2771f
Merge pull request #30142 from hashicorp/chrisarcand/remote-backend-no-workspaces-regression
4 years ago
Chris Arcand 98978b3853 command/meta_backend: Allow the remote backend to have no workspaces [again]
4 years ago
Martin Atkins 096cddb4b7 command/format: Limitation of plans.ResourceInstanceDeleteBecauseNoModule
4 years ago
Chris Arcand f4f5b7c968
Merge pull request #30059 from hashicorp/barrettclark/explicit-local-empty-migrate-messaging
4 years ago
Barrett Clark c706c8f92b Do not ask to migrate empty default workspace
4 years ago
Barrett Clark e08a02e7bf Fixes Issue #29959, Apply w/o init error message
4 years ago
Luces Huayhuaca d72a413ef8
command/meta_backend: Prompt to select workspace before saving backend config (#29945)
4 years ago
Chris Arcand b5af7b6c92
Merge pull request #29987 from hashicorp/chrisarcand/backend-flag-with-tfc
4 years ago
Barrett Clark a6b56ad76f
Merge pull request #29997 from hashicorp/barrettclark/cloud-input-false
4 years ago
Barrett Clark 419676cb69 Cloud integration requires input for migrations
4 years ago
Luces Huayhuaca f63b6198ca
Create a function for logic that assigns value to initReason var after changing backend configuration (#29967)
4 years ago
Alisdair McDiarmid a8b9d086b2 cli: Fix nested single and map diff rendering
4 years ago
Chris Arcand a0c7c1dc8d command/init: Adjust init help output
4 years ago
Chris Arcand 33d7c1e6d6 command/init: Add -cloud alias (of -backend)
4 years ago
Alisdair McDiarmid b562c4fb84 cli: Fix nested set diff rendering indentation
4 years ago
Alisdair McDiarmid 2d0349d9a4 cli: Fix diff for nested set unchanged elements
4 years ago
Martin Atkins 7d6d31eff8 command/init: Skip redundant state migration prompt in Cloud mode
4 years ago
Martin Atkins bac59d2480 command/init: Be explicit that some options are not relevant for Cloud
4 years ago
Barrett Clark a146a2746e Add clarifying commend and e2e test
4 years ago
Barrett Clark a9eb62d692 Cloud: Migrate empty default workspace prompt
4 years ago
Chris Arcand bf76cc98ef command: Suggestions on migration copy from user feedback
4 years ago
kmoe 64635edfb9
Merge pull request #29885 from hashicorp/kmoe/more-init-interrupts
5 years ago
Katy Moe 6da61bf07b
revert change to installModules diag handling
5 years ago
kmoe 40ec62c139
command: make module installation interruptible
5 years ago
Krista LaFentres c44c589f0a Error if backup or backup-out options are used without the state option on non-local backends for the state mv command
5 years ago
Chris Arcand 779c958fbf cloud: Add streamlined 'remote' backend state migration path
5 years ago
Chris Arcand 6f25ad3e17 cloud: Display the newly renamed workspaces after a migration
5 years ago
Chris Arcand c3bf5d4512 cloud: Automatically select renamed current workspace
5 years ago
Chris Arcand f80b2177c8 cloud: Tweak multi-to-multi migration UX
5 years ago
Chris Arcand f04ea2bd3d
Merge pull request #29860 from hashicorp/fix-init-after-error-take-two
5 years ago
Chris Arcand 7c0c2e952f command: Don't always update backend hash when fetching the saved backend
5 years ago
Łukasz Sierant 19cce931a8 Test case for changing backend hash during aborted state migration
5 years ago
Billy Keyes 52ca30273f
command/format: improve list nested attribute rendering (#29827)
5 years ago
Nick Fagerlund 02e62c9851
Cloud: Init without erroring when no workspaces match the `tags` (#29835)
5 years ago
Martin Atkins 94cbc8fb5d experiments: config_driven_move has concluded
5 years ago
Chris Arcand 511afcd43a command: Adjust skipping of resource counts for any remote implementation
5 years ago
James Bardin 81e709d185
Merge pull request #29825 from hashicorp/jbardin/no-panicwrap
5 years ago
Martin Atkins f266d1ee82
"Add cloud integration option"
5 years ago
Chris Arcand 6dc1fed6d5 Clarify legacy Ui comments
5 years ago
Chris Arcand 14260a5b4c Adjust default workspace naming prompt
5 years ago
Omar Ismail fc5863844c Cloud migration: ignore backend version check when empty worksapces
5 years ago
Barrett Clark f5366468b4 Cloud Backend reference migrating away from TFC
5 years ago
Chris Arcand 2c0294c7e3 Tweak configuration copy for TFC
5 years ago
Omar Ismail 1ff7827416 Multi-state migration prompt fix
5 years ago
Barrett Clark cc6de251d8 Update init reconfigure error message
5 years ago
Barrett Clark e16c53b561 Simplify/Consolidate the cloud conditionals
5 years ago
Barrett Clark ab304d831f Found another path to backend init error
5 years ago
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
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