Commit Graph

115 Commits (2cc94b4e89ccd47475c2b894e7cb9bd758ae73fc)

Author SHA1 Message Date
Liam Cervante ee9aa07e10
terraform test: implement the source attribute for mock providers (#34192)
2 years ago
Liam Cervante 57edb9c248
testing framework: add warnings for override blocks with invalid targets (#34181)
2 years ago
Liam Cervante 05f877166d
terraform test: parse mocking structures with test files (#34143)
3 years ago
James Bardin 2e11d4a149 data sources cannot be imported
3 years ago
James Bardin 663cc1d1b7 move invalid tests
3 years ago
Liam Cervante 5bbdc4c3b6
terraform test: allow providers in test files to reference variables (#34069)
3 years ago
kmoe 4b88808201
configs/terraform: refactor expansion code, add diags (#33962)
3 years ago
James Bardin 66637ed228 use new unwrapJSONRefExpr for replace_triggered_by
3 years ago
James Bardin a2b189fd71 handle to expression from json files
3 years ago
James Bardin e130c7b9ab correct check for duplicate imports
3 years ago
James Bardin df23c703ce import block decode
3 years ago
Jared Baker 649f9831e7
internal/configs: CoerceValue error for omitted attribute requirements
3 years ago
Liam Cervante 041b54fb4b
explicitely disallow duplicate run block names in test files (#33836)
3 years ago
CJ Horton 98b81d3c50 add missing copyright headers
3 years ago
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
3 years ago
kmoe 765c25d2ed
allow interpolation in import block id (#33618)
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 e1019b3641
testing framework: validate the configuration before terraform test (#33559)
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 212ae6c4ba
Introduce separate testing scope for reference validation (#33339)
3 years ago
kmoe fbff64ad45
configs: remove import block duplicate id check (#33434)
3 years ago
Liam Cervante cad9aa9025
[Testing Framework] Add test file HCL configuration and parser functionality (#33325)
3 years ago
Martin Atkins 9f6a3ba701 build: Generate copyright headers automatically
3 years ago
kmoe be2ad69eda
plannable import: safer config generation and schema filters (#33232)
3 years ago
Masayuki Morita 53755180fd
Fix an error message for import block with moved block (#33221)
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
CJ Horton bd6ba6cf99
check for duplicate import blocks (#33190)
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
hashicorp-copywrite[bot] 325d18262e [COMPLIANCE] Add Copyright and License Headers
3 years ago
kmoe c6400fabb1
configs: add import block (#33081)
3 years ago
kmoe 531efd303b
add types for plannable import (#33080)
3 years ago
Liam Cervante 3827120c25
Checks: Add configuration for check blocks (#32734)
3 years ago
Liam Cervante af05cbb645
Add support for scoped resources (#32732)
3 years ago
Eugene Dementyev 36aac6b498
Fixes depends_on when overriding modules (#32796)
3 years ago
Alisdair McDiarmid 8df065a2fe initwd: Switch from earlyconfig to configs
3 years ago
Nick Fagerlund 83428c91f1 Fix accidental mutation of shared `cty.Path`s in ValueMarks funcs
3 years ago
Alisdair McDiarmid 551f6316fa Do not apply type defaults to null values
4 years ago
Alisdair McDiarmid 9d864c2430 Use upstreamed HCL typexpr package
4 years ago
Martin Atkins 209b8de7a5 configs: Variable and Output both have Addr methods
4 years ago
Martin Atkins 783a07d9e8 build: Use Go 1.19
4 years ago
James Bardin 8354bc46cf
Merge pull request #31576 from hashicorp/jbardin/validate-deprecated-computed
4 years ago
James Bardin 1a5e403329
Merge pull request #31532 from hashicorp/jbardin/static-validate-nested-types
4 years ago