Commit Graph

76 Commits (add-missing-variable-loading)

Author SHA1 Message Date
Daniel Banck 4ef9684188 Rework most of the configuration loading
1 month ago
Daniel Banck 4da132e639
Add `const` attribute to variable blocks
2 months ago
Daniel Schmidt accaa8d027 also check against action references in depends_on during config parsing
6 months ago
Daniel Schmidt c5f9b060c7 remove mention of before_destroy, we postponed implementing this event type
7 months ago
Samsondeen 1048510fec
tf query: disable depends_on for list blocks (#37618)
7 months ago
Liam Cervante 551ba2e525
Implement controlling destroy functionality within Terraform Test (#37359)
7 months ago
Samsondeen 9b015c6c28
Allow duplicate list names for different types (#37578)
7 months ago
Sarah French 61a7914dd9
Add test helper to create mock provider that contains a state store (#37556)
7 months ago
Daniel Schmidt c6c8be3e79 terraform init should pick up action providers
9 months ago
Sarah French d1e412fcf0
PSS: Add initial (incomplete) version of code changes to the `init` command for using pluggable state storage (#37321)
9 months ago
Daniel Schmidt 5fdbafd129 ensure destroy events can not be used
9 months ago
Kristin Laemmert 5adceda98f
feat: update Actions parsing with current syntax (#37313)
9 months ago
Daniel Banck bfe31123e0
Add `limit` attribute to list blocks (TF-26798) (#37231)
10 months ago
Samsondeen cacd7861e5
add nested config block to list block (#37229)
10 months ago
Sarah French b3d7dae793
Add config parsing and validation for PSS (#37178)
10 months ago
Sarah French 6f07b460a7
Update and add new tests for module-parsing logic (#37176)
11 months ago
Samsondeen a5434b421f
Build and Validate list resource nodes (#37011)
11 months ago
Samsondeen b3c5118ede
Add include_resource attr to list block (#37086)
11 months ago
Samsondeen 44eb0c69ef
Recognize tf query files (#36929)
11 months ago
Kristin Laemmert 386988cb50
Decode action blocks and action_triggers inside resource blocks. (#37030)
11 months ago
Samsondeen 7f29df96a0
Allow terraform init when only test files are present in directory (#36429)
1 year ago
Samsondeen 2f0f537e69
Terraform test: Execute eligible test runs in parallel (#36300)
1 year ago
James Bardin be308d07f3 ephemeral configs test files
2 years ago
kmoe fab3673f8d
lang: stabilise ephemeral values experiment (#35636)
2 years ago
Martin Atkins 6fad32b033 configs: Variables and outputs can be "ephemeral"
2 years ago
James Bardin acc4c12ac2 variable validation rules must still point to self
2 years ago
Martin Atkins 3b620bfe69 terraform: Stabilize the variable_validation_crossref experiment
2 years ago
Liam Cervante 48fc2d3ac7
terraform test: Disallow version constraints within test files (#35161)
2 years ago
Martin Atkins 79479f52c9 terraform: Experimental support for variable validation cross-references
2 years ago
Liam Cervante 3a75362cce
terraform test: run block names should be valid HCL identifiers (#34469)
2 years ago
James Bardin 8125fe56a4 cannot statically validate an import target moved
2 years ago
Liam Cervante ee9aa07e10
terraform test: implement the source attribute for mock providers (#34192)
2 years ago
Liam Cervante 05f877166d
terraform test: parse mocking structures with test files (#34143)
2 years ago
James Bardin a2b189fd71 handle to expression from json files
3 years ago
Liam Cervante 041b54fb4b
explicitely disallow duplicate run block names in test files (#33836)
3 years ago
Liam Cervante f397954c52
testing framework: allow users to specify deeply nested testing directories (#33584)
3 years ago
Liam Cervante 4122ba86fc
terraform test: fix crash when using nested modules from test run blocks (#33589)
3 years ago
Liam Cervante 222676390c
testing framework: add validation for provider blocks in test files (#33542)
3 years ago
Liam Cervante c91f91cc9e
testing framework: change test file extension to .tftest.hcl (#33553)
3 years ago
Liam Cervante 4b34902fab
[testing framework] allow tests to define and override providers (#33466)
3 years ago
Liam Cervante 5acc95dda7
[Testing Framework] Add module block to test run blocks (#33456)
3 years ago
Liam Cervante f74a8d16cf
[testing framework] implement expect_failures functionality (#33443)
3 years ago
Liam Cervante cad9aa9025
[Testing Framework] Add test file HCL configuration and parser functionality (#33325)
3 years ago
CJ Horton adcecddb4f
Merge pull request #33193 from hashicorp/radditude/no-import-blocks-in-child-modules
3 years ago
kmoe 1172d40d7b
error if import target is move source (#33192)
3 years ago
CJ Horton 2dd89d9776 import blocks are only allowed in the root module
3 years ago
Liam Cervante 5d6c5a9a33
plannable import: add a provider argument to the import block (#33175)
3 years ago
Liam Cervante 79f7f59155
Plannable import: Generate config for imported resources during the plan. (#33153)
3 years ago
Eugene Dementyev 36aac6b498
Fixes depends_on when overriding modules (#32796)
3 years ago
Alisdair McDiarmid 551f6316fa Do not apply type defaults to null values
4 years ago