terraform/internal/configs
Sarah French 634db2dcc8
PSS: Add parsing of .tfmigrate.hcl files to define state migration operations (#38526)
* feat: Parsing a configuration directory can include .tfmigrate.hcl files. These files include `state_store_provider` blocks and `from` blocks that contains either a single `backend` or `state_store` block.

Validation will enforce that despite multiple .tfmigrate.hcl files being parsed you can only have one state_store_provider or from block, and nested backend/state_store blocks are mutually exclusive. Use of state_store_provider is only valid when state_store is in use, and the single provider described in both blocks must be in agreement. Also, a directory's .tfmigrate.hcl files cannot be empty once combined.
2026-05-19 09:31:27 +01:00
..
configload remove loadStaticConfigWithTests 2026-03-06 11:59:59 +01:00
configschema require stricter validation for computed blocks 2026-03-30 16:21:32 -04:00
configtesting make copyrightfix 2026-02-17 13:56:34 +00:00
hcl2shim make copyrightfix 2026-02-17 13:56:34 +00:00
testdata PSS: Add parsing of .tfmigrate.hcl files to define state migration operations (#38526) 2026-05-19 09:31:27 +01:00
action.go actions: move condition evaluation into configs package 2026-03-31 08:49:48 -04:00
action_test.go actions: move condition evaluation into configs package 2026-03-31 08:49:48 -04:00
actiontriggerevent_string.go chore: Bump golang.org/x/crypto dependency, ignore SA4003 linting errors globally (#37901) 2025-11-17 15:01:28 +00:00
backend.go make copyrightfix 2026-02-17 13:56:34 +00:00
checks.go make copyrightfix 2026-02-17 13:56:34 +00:00
cloud.go make copyrightfix 2026-02-17 13:56:34 +00:00
compat_shim.go make copyrightfix 2026-02-17 13:56:34 +00:00
config.go Fix modules command 2026-03-04 11:45:59 +01:00
config_build.go feat(import): support import blocks inside child modules (#38352) 2026-05-14 14:17:24 -04:00
config_build_test.go feat(import): support import blocks inside child modules (#38352) 2026-05-14 14:17:24 -04:00
config_test.go feat(import): support import blocks inside child modules (#38352) 2026-05-14 14:17:24 -04:00
container.go make copyrightfix 2026-02-17 13:56:34 +00:00
depends_on.go make copyrightfix 2026-02-17 13:56:34 +00:00
doc.go make copyrightfix 2026-02-17 13:56:34 +00:00
escaping_blocks_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
experiments.go make copyrightfix 2026-02-17 13:56:34 +00:00
experiments_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
import.go make copyrightfix 2026-02-17 13:56:34 +00:00
import_test.go Rework most of the configuration loading 2026-03-04 11:45:59 +01:00
mock_provider.go Allow functions in test mock blocks (#37883) 2026-01-22 09:42:21 +01:00
mock_provider_test.go terraform test: implement the source attribute for mock providers (#34192) 2023-11-14 09:41:05 +01:00
module.go PSS: Add parsing of .tfmigrate.hcl files to define state migration operations (#38526) 2026-05-19 09:31:27 +01:00
module_call.go Store module source and version expressions 2026-03-04 11:45:59 +01:00
module_call_test.go Store module source and version expressions 2026-03-04 11:45:59 +01:00
module_merge.go Test output type override merge 2026-03-17 11:59:02 +01:00
module_merge_body.go make copyrightfix 2026-02-17 13:56:34 +00:00
module_merge_test.go Test output type override merge 2026-03-17 11:59:02 +01:00
module_test.go feat(import): support import blocks inside child modules (#38352) 2026-05-14 14:17:24 -04:00
moved.go make copyrightfix 2026-02-17 13:56:34 +00:00
moved_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
named_values.go Add type attribute to output blocks 2026-03-17 11:59:02 +01:00
named_values_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
parser.go make copyrightfix 2026-02-17 13:56:34 +00:00
parser_config.go PSS: Add parsing of .tfmigrate.hcl files to define state migration operations (#38526) 2026-05-19 09:31:27 +01:00
parser_config_dir.go PSS: Add parsing of .tfmigrate.hcl files to define state migration operations (#38526) 2026-05-19 09:31:27 +01:00
parser_config_dir_test.go PSS: Add parsing of .tfmigrate.hcl files to define state migration operations (#38526) 2026-05-19 09:31:27 +01:00
parser_config_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
parser_file_matcher.go PSS: Add parsing of .tfmigrate.hcl files to define state migration operations (#38526) 2026-05-19 09:31:27 +01:00
parser_test.go feat(import): support import blocks inside child modules (#38352) 2026-05-14 14:17:24 -04:00
provider.go make copyrightfix 2026-02-17 13:56:34 +00:00
provider_meta.go make copyrightfix 2026-02-17 13:56:34 +00:00
provider_requirements.go make copyrightfix 2026-02-17 13:56:34 +00:00
provider_requirements_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
provider_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
provider_validation.go Store module source and version expressions 2026-03-04 11:45:59 +01:00
provisioner.go make copyrightfix 2026-02-17 13:56:34 +00:00
provisioneronfailure_string.go chore: Bump golang.org/x/crypto dependency, ignore SA4003 linting errors globally (#37901) 2025-11-17 15:01:28 +00:00
provisionerwhen_string.go chore: Bump golang.org/x/crypto dependency, ignore SA4003 linting errors globally (#37901) 2025-11-17 15:01:28 +00:00
query_file.go make copyrightfix 2026-02-17 13:56:34 +00:00
removed.go make copyrightfix 2026-02-17 13:56:34 +00:00
removed_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
resource.go fix panic for invalid action_trigger nested blocks 2026-04-28 08:34:00 -04:00
source_bundle_parser.go make copyrightfix 2026-02-17 13:56:34 +00:00
source_bundle_parser_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
state_migrate_file.go PSS: Add parsing of .tfmigrate.hcl files to define state migration operations (#38526) 2026-05-19 09:31:27 +01:00
state_store.go PSS: Refactor how we handle unmanaged providers, add support for using dev_override (#38269) 2026-04-14 15:07:56 +01:00
state_store_test.go PSS: Refactor how we handle unmanaged providers, add support for using dev_override (#38269) 2026-04-14 15:07:56 +01:00
test_file.go make copyrightfix 2026-02-17 13:56:34 +00:00
test_file_test.go make copyrightfix 2026-02-17 13:56:34 +00:00
util.go make copyrightfix 2026-02-17 13:56:34 +00:00
variable_type_hint.go make copyrightfix 2026-02-17 13:56:34 +00:00
variabletypehint_string.go Move configs/ to internal/configs/ 2021-05-17 14:09:07 -07:00
version_constraint.go make copyrightfix 2026-02-17 13:56:34 +00:00