Commit Graph

61 Commits (d857f2013f8ead2f4e8f69a4429c1af15a5d438b)

Author SHA1 Message Date
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)
12 months ago
Kristin Laemmert 386988cb50
Decode action blocks and action_triggers inside resource blocks. (#37030)
12 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)
3 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
Alisdair McDiarmid 64cf53bd7e configs: Fix check block configuration diagnostics
4 years ago
Martin Atkins fda0579537 Experiments supported only in alpha/dev builds
4 years ago
Alisdair McDiarmid 479c71f93d
Merge pull request #31210 from hashicorp/update-optional-type-attributes
4 years ago
James Bardin 57c0deb01e check for duplicate defaults from resource names
4 years ago
Alisdair McDiarmid 922de89be1 Conclude module variable optional attrs experiment
4 years ago
James Bardin 2581bc93cb Check for duplicate types in required_providers
4 years ago
Alisdair McDiarmid 650380f3ae configs: Add default argument to optional()
4 years ago
James Bardin 6eb3264d1a parse replace_triggered_by in resource configs
4 years ago
Alisdair McDiarmid bb35f02c95 Conclude preconditions/postconditions experiment
4 years ago
Martin Atkins 1879a39d2d configs: Refined error messages for mismatched provider passing
4 years ago
Alisdair McDiarmid b06fe04621 core: Check rule error message expressions
4 years ago
Alisdair McDiarmid 7ded73f266 configs: Validate pre/postcondition self-refs
4 years ago
Martin Atkins 9076400436 configs: Decode preconditions and postconditions
4 years ago
James Bardin 0771a214d8 skip provider resolution when there are errors
4 years ago
Martin Atkins affe2c3295 addrs: Expose the registry address parser's error messages
4 years ago