terraform/internal/command
James Bardin 4883499a89 test non-string env var input variables
Non-string input variables taken from the environment initially need to
be parsed and stored as string, since there is no type associated type
information. Make sure these are correctly handled when validated during
apply.
2024-11-27 13:16:33 -05:00
..
arguments Impl tests for the modules command 2024-10-28 13:31:09 -04:00
cliconfig stacks: load credentials from config file on startup (#35952) 2024-11-05 16:13:08 +01:00
clistate command/workdir: Model the "backend state" file format 2024-03-08 17:21:53 -08:00
e2etest add -lock-file flag to providers mirror command 2024-06-11 16:37:28 -04:00
format adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
jsonchecks Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
jsonconfig fix Descendants spelling 2024-10-09 11:09:02 -04:00
jsonformat terraform: Emit lifecycle phases of ephemeral resources to the UI (#35919) 2024-10-30 12:44:02 +00:00
jsonfunction lang: stabilise templatestring func experiment (#35224) 2024-05-28 16:50:25 +01:00
jsonplan jsonplan: sort the relevant attributes in the correct plan (#36093) 2024-11-25 16:49:18 +01:00
jsonprovider write-only attributes: emit structural data on schema rendering 2024-11-12 16:42:05 +01:00
jsonstate Remove handling of ephemeral root outputs (#35809) 2024-10-03 18:10:30 +01:00
testdata test non-string env var input variables 2024-11-27 13:16:33 -05:00
testing test: pass in variables during apply 2024-10-16 16:30:31 +02:00
views Revert "Merge pull request #35929 from bschaatsbergen/b/fix-retry-messages-in-cloud-backend-json" 2024-11-13 18:22:26 -07:00
webbrowser Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
workdir command/workdir: Model the "backend state" file format 2024-03-08 17:21:53 -08:00
apply.go ephermal: allow setting var and var files for apply 2024-11-04 15:41:44 +01:00
apply_destroy_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
apply_test.go test non-string env var input variables 2024-11-27 13:16:33 -05:00
autocomplete.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
autocomplete_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
cli_ui.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
cli_ui_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
cloud.go cloud: Allows object tag schema for selecting kv tagged workspaces 2024-10-26 08:04:09 -06:00
cloud_test.go Rebrand Terraform Cloud to HCP Terraform 2024-04-23 16:12:59 -04:00
command.go Define StatePersistInterval as command meta field 2024-05-17 14:16:24 -04:00
command_test.go ephemeral: add apply tests 2024-11-04 15:35:22 +01:00
console.go backendrun: Separate the types/etc for backends that support operations 2024-03-12 08:44:17 -07:00
console_interactive.go terraform console: Multi-line entry support 2024-03-13 09:00:02 -07:00
console_interactive_solaris.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
console_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
flag_kv.go move all command args from command/init to args/init 2024-04-17 12:26:23 -04:00
flag_kv_test.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
fmt.go terraform fmt: add .tfmock.hcl as a supported file extension (#34580) 2024-01-29 17:03:31 +01:00
fmt_test.go terraform fmt: add .tfmock.hcl as a supported file extension (#34580) 2024-01-29 17:03:31 +01:00
get.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
get_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
graph.go remove old refactoring comments 2024-08-22 09:39:37 -04:00
graph_test.go update changes in command pkgs 2024-08-22 09:39:37 -04:00
helper.go Rebrand Terraform Cloud to HCP Terraform 2024-04-23 16:12:59 -04:00
hook_module_install.go allow slashes in git url parameters 2024-08-09 13:54:13 -04:00
import.go fix Descendants spelling 2024-10-09 11:09:02 -04:00
import_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
init.go udpate code which was failing staticckeck 2024-09-11 14:09:12 -04:00
init_test.go init: fix invalid + duplicate required provider blocks crashing (#35533) 2024-08-06 10:38:13 +02:00
login.go Rebrand Terraform Cloud to HCP Terraform 2024-04-23 16:12:59 -04:00
login_test.go Rebrand Terraform Cloud to HCP Terraform 2024-04-23 16:12:59 -04:00
logout.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
logout_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
meta.go Define StatePersistInterval as command meta field 2024-05-17 14:16:24 -04:00
meta_backend.go Revert "Merge pull request #35929 from bschaatsbergen/b/fix-retry-messages-in-cloud-backend-json" 2024-11-13 18:22:26 -07:00
meta_backend_migrate.go cloud: Allows object tag schema for selecting kv tagged workspaces 2024-10-26 08:04:09 -06:00
meta_backend_migrate_test.go Inject appname to backend migration prompts 2024-04-23 16:12:59 -04:00
meta_backend_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
meta_config.go fix Descendants spelling 2024-10-09 11:09:02 -04:00
meta_dependencies.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
meta_new.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
meta_providers.go chore: remove extra newline char 2024-03-04 10:44:25 -05:00
meta_test.go Add unit tests for state persist interval env var 2024-05-17 14:16:24 -04:00
meta_vars.go move all command args from command/init to args/init 2024-04-17 12:26:23 -04:00
metadata_command.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
metadata_functions.go internal/command: Avoid ignoring ephemeralasnull function (#35651) 2024-09-04 10:25:11 +01:00
metadata_functions_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
modules.go Only show referenced entries, add versioning 2024-10-28 13:31:09 -04:00
modules_test.go Only show referenced entries, add versioning 2024-10-28 13:31:09 -04:00
output.go Remove handling of ephemeral root outputs (#35809) 2024-10-03 18:10:30 +01:00
output_test.go Remove handling of ephemeral root outputs (#35809) 2024-10-03 18:10:30 +01:00
plan.go move all command args from command/init to args/init 2024-04-17 12:26:23 -04:00
plan_test.go Add go vet as a check to the Github commit actions (#31461) 2024-11-07 17:29:58 +01:00
plugins.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
plugins_lock.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
plugins_lock_test.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
plugins_test.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
providers.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
providers_lock.go move all command args from command/init to args/init 2024-04-17 12:26:23 -04:00
providers_lock_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
providers_mirror.go update helptext and docs 2024-06-14 16:23:36 -04:00
providers_mirror_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
providers_schema.go backendrun: Separate the types/etc for backends that support operations 2024-03-12 08:44:17 -07:00
providers_schema_test.go fixing tests internal/command/init, view and argumento 2024-04-17 12:26:23 -04:00
providers_test.go terraform test: Disallow version constraints within test files (#35161) 2024-05-16 13:15:20 +02:00
push.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
refresh.go move all command args from command/init to args/init 2024-04-17 12:26:23 -04:00
refresh_test.go states: store ephemeral output values in memory (#35676) 2024-09-06 17:38:18 +01:00
show.go udpate code which was failing staticckeck 2024-09-11 14:09:12 -04:00
show_test.go update changes in command pkgs 2024-08-22 09:39:37 -04:00
state_command.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_list.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_list_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_meta.go fix Descendants spelling 2024-10-09 11:09:02 -04:00
state_mv.go backendrun: Separate the types/etc for backends that support operations 2024-03-12 08:44:17 -07:00
state_mv_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_pull.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
state_pull_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_push.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_push_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_replace_provider.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_replace_provider_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_rm.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_rm_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
state_show.go backendrun: Separate the types/etc for backends that support operations 2024-03-12 08:44:17 -07:00
state_show_test.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
state_test.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
taint.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
taint_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
telemetry.go add missing copyright headers 2023-08-16 11:21:49 -07:00
test.go fix Descendants spelling 2024-10-09 11:09:02 -04:00
test_test.go show value is ephemeral in terraform test 2024-10-17 15:07:20 +02:00
ui_input.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
ui_input_test.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
unlock.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
unlock_test.go command/workdir: Model the "backend state" file format 2024-03-08 17:21:53 -08:00
untaint.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
untaint_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
validate.go fix: check for local operations, separate warning for remote execution 2024-03-04 10:34:13 -05:00
validate_test.go terraform test: move override evaluation into expander (#35030) 2024-04-24 07:57:29 +02:00
version.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
version_test.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
workspace_command.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
workspace_command_test.go command: TestWorkspace_deleteWithState uses modern state format 2024-03-08 17:21:53 -08:00
workspace_delete.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
workspace_list.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00
workspace_new.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
workspace_select.go adopt hashicorp/cli fork of mitchellh/cli (#34429) 2023-12-20 11:04:10 +00:00
workspace_show.go Update copyright file headers to BUSL-1.1 2023-08-10 23:43:27 +01:00