opentofu/command
Paul Hinze d4b9362518 core: validate on verbose graph to detect some cycles earlier
Most CBD-related cycles include destroy nodes, and destroy nodes were
all being pruned from the graph before staring the Validate walk.

In practice this meant that we had scenarios that would error out with
graph cycles on Apply that _seemed_ fine during Plan.

This introduces a Verbose option to the GraphBuilder that tells it to
generate a "worst-case" graph. Validate sets this to true so that cycle
errors will always trigger at this step if they're going to happen.

(This Verbose option will be exposed as a CLI flag to `terraform graph`
in a second incoming PR.)

refs #1651
2015-04-23 11:07:13 -05:00
..
test-fixtures command/push: read terraform.tfvars 2015-04-07 15:34:06 -07:00
apply_destroy_test.go core: targeted operations 2015-03-31 14:49:38 -05:00
apply_test.go command: autoload terraform.tfvars.json as well [GH-1030] 2015-03-02 09:22:28 -08:00
apply.go core: targeted operations 2015-03-31 14:49:38 -05:00
cli_ui_test.go command/*: colors on error messages (red) 2014-07-12 20:59:16 -07:00
cli_ui.go command: warnings should not exit 2015-03-05 14:22:34 -06:00
command_test.go command/push: archive, upload 2015-03-24 13:30:22 -07:00
command.go command: warnings should not exit 2015-03-05 14:22:34 -06:00
config.go Compile 2014-07-03 12:01:20 -07:00
flag_kv_test.go command: FlagVar => FlagKV 2015-02-23 15:13:54 -08:00
flag_kv.go core: targeted operations 2015-03-31 14:49:38 -05:00
format_plan.go command: plan shows module-level, can control depth 2014-09-24 22:54:51 -07:00
format_state.go command: nil-check for instance state when showing state 2014-10-02 17:48:51 -07:00
get_test.go command: put the modules in ".terraform/modules" 2014-10-13 12:05:28 -07:00
get.go command: get supports -update 2014-09-22 11:18:49 -07:00
graph_test.go terraform: Graph returns *Graph for now 2015-02-19 12:08:32 -08:00
graph.go core: validate on verbose graph to detect some cycles earlier 2015-04-23 11:07:13 -05:00
hook_count_test.go command/apply: show add/remove/change count for apply 2014-07-17 15:14:45 -07:00
hook_count.go command: render new modules properly 2014-09-25 14:52:06 -07:00
hook_state_test.go command: StateHook for continous state updates 2015-02-23 21:57:17 -08:00
hook_state.go command: StateHook for continous state updates 2015-02-23 21:57:17 -08:00
hook_ui.go command: prov UI should trim only right spaces 2014-10-12 09:59:08 -07:00
init_test.go command/init: -backend-config 2015-02-23 15:13:56 -08:00
init.go command: move remote configuration stuff 2015-03-04 16:17:30 -08:00
meta_test.go command/meta: fix test 2015-03-24 13:30:23 -07:00
meta.go core: targeted operations 2015-03-31 14:49:38 -05:00
module_storage_test.go command: Get works 2014-09-22 11:15:27 -07:00
module_storage.go command: implement proper module.Storage interface 2015-04-07 16:46:56 -07:00
output_test.go command/output: don't panic if no root module in state [GH-1263] 2015-03-25 16:35:27 -07:00
output.go command/output: don't panic if no root module in state [GH-1263] 2015-03-25 16:35:27 -07:00
plan_test.go command: plan supports detailed exit code 2015-04-01 09:38:19 -07:00
plan.go command: plan supports detailed exit code 2015-04-01 09:38:19 -07:00
push_test.go command: fix push tests when running outside repo 2015-04-09 18:46:25 -05:00
push.go command/push: read terraform.tfvars 2015-04-07 15:34:06 -07:00
refresh_test.go command: fmt 2014-09-21 09:42:48 -07:00
refresh.go core: targeted operations 2015-03-31 14:49:38 -05:00
remote_config_test.go command/remote-config: failing tests 2015-03-26 18:14:24 -07:00
remote_config.go command/remote-config: do a pull with terraform remote config 2015-03-26 17:57:45 -07:00
remote_pull_test.go command: when setting up state, only write back if local is newer 2015-03-26 17:16:54 -07:00
remote_pull.go command/remote-{pull,push}: colorize and show success output 2015-03-26 17:40:39 -07:00
remote_push_test.go command: move remote configuration stuff 2015-03-04 16:17:30 -08:00
remote_push.go command/remote-{pull,push}: colorize and show success output 2015-03-26 17:40:39 -07:00
remote.go command/remote 2015-03-04 16:25:11 -08:00
show_test.go command/show: show default state with no args [GH-349] 2014-10-11 12:56:55 -07:00
show.go command: start migrating to new state package 2015-02-23 15:13:54 -08:00
state.go Merge pull request #1356 from koendc/b-remote-plugin-case 2015-04-14 08:34:28 -07:00
taint_test.go command/taint: -allow-missing 2015-02-26 10:56:45 -08:00
taint.go command/taint: fix comment 2015-02-26 14:30:02 -08:00
ui_input_test.go command: UIInput implementation to ask via CLI 2014-09-29 10:56:01 -07:00
ui_input.go helper/scheam: support UI defaults 2014-09-29 14:00:35 -07:00
version_test.go Implement CLI, version command 2014-05-24 12:04:43 -07:00
version.go fixing version numbers RCs should be labeled x.x.x-rcx 2015-02-07 16:56:56 +01:00