Commit Graph

34990 Commits (stacks-variable-validations)
 

Author SHA1 Message Date
Daniel Schmidt a2a8697558
add test case for variable validation
1 week ago
Sarah French b8c2cabee8
init: Fix when error diagnostics are acted on in PSS's experimental version of `init`. Avoid trying to initialise a state store with insufficient config. (#38125)
2 weeks ago
Radek Simko 27770ee805
PSS: Migration from a backend to a state store (#38048)
2 weeks ago
Austin Valle a48e873790
PSS: Adjust `StateRange.End` logic in `ReadStateBytes` and `WriteStateBytes` (#38127)
2 weeks ago
Daniel Banck d103825d84 Move changelog file to avoid duplicate entry
2 weeks ago
hc-github-team-tf-core 4ad174f77f Cleanup after 1.15.0-alpha20260204 release
2 weeks ago
Abdurahman Abdelgany 8e6d141fdf
Ensure that SourceBundleParser always receives a relative path for the Source Directory
2 weeks ago
Abdurahman Abdelgany 587fc8e66b
Merge branch 'main' into stacks_validate_relative_path_fix
2 weeks ago
Radek Simko 87ba30ef88
plan: Improve diagnostics for uninitialized state_store provider (#38075)
2 weeks ago
Sarah French 0ef56b2853
PSS : Test edge cases when the selected workspace doesn't exist during `init` with a `state_store` (#38119)
2 weeks ago
hc-github-team-tf-core f65c52c899 Prepare before 1.15.0-alpha20260204 release
2 weeks ago
Daniel Schmidt f44decc5f1 fix PR link
2 weeks ago
Brandon Croft cb615c38d8 Create BUG FIXES-20260114-135324.yaml
2 weeks ago
Brandon Croft c42d0006fe make syncdeps
2 weeks ago
Brandon Croft 0f11f38d47 bump terraform-svchost to v0.2.0
2 weeks ago
Abdurahman Abdelgany 9a9938d950 Use an actual config with a relative path in unit test
3 weeks ago
Daniel Schmidt ba5c4ac5e3 add comment about locals using shallow validation
3 weeks ago
Daniel Schmidt 84eeb0a113 improve wording of comments
3 weeks ago
Daniel Schmidt edfe22d479 match naming scheme
3 weeks ago
Daniel Schmidt ae5bfbad10 fix apply time assertions for no-op resources
3 weeks ago
Daniel Schmidt ce400c93df GetDeprecationMarks should return other value marks in value
3 weeks ago
Daniel Schmidt 9d359b02c4 add missing InConfigBody
3 weeks ago
Daniel Schmidt 69adc6a4c7 remove dead code
3 weeks ago
Daniel Schmidt 9cf9235582 track down precise deprecation locations in complex output values
3 weeks ago
Daniel Schmidt 9a1e117ea9 pull range finding for expressions into separate method
3 weeks ago
Daniel Schmidt 425263040f only unmark deep when necessary
3 weeks ago
Daniel Schmidt 5ed7d5134e refactor deprecation diag creation
3 weeks ago
Daniel Schmidt 3fd7a5052f limit the amount of additional remove deprecation mark calls
3 weeks ago
Daniel Schmidt 11e49b983a only unmark deep once for Validate
3 weeks ago
Daniel Schmidt c7bc22ed79 only unmark deep once for ValidateDeep
3 weeks ago
Daniel Schmidt 76747e174c use format.CtyPath for formatting go-cty paths
3 weeks ago
Daniel Schmidt 7b28c88e66 improve wording of deprecation marks
3 weeks ago
Daniel Schmidt 3bafac0d56 we can't savely detect deprecations within provisioners during plan
3 weeks ago
Daniel Schmidt 7eaf6daf60 add deprecation marks to resources based on schema
3 weeks ago
Sarah French 02a4ddce1b
fix: Fail an `apply` command if the plan file was generated for a workspace that isn't the selected workspace (#37955)
3 weeks ago
Daniel Schmidt 379fa79c3e ElaborateFromConfigBody handles deeply nested paths more precisely
3 weeks ago
Daniel Schmidt 5723a7a26b refactor into switch statement
3 weeks ago
Daniel Schmidt b09ef138fc use validate for primitive types
3 weeks ago
Daniel Schmidt e6d969a2eb we only want to send diagnostics for deeply nested deprecations in certain locations
3 weeks ago
Daniel Schmidt 2f392d904e deprecation.Validate should only check top-level marks
3 weeks ago
Daniel Schmidt 75445e1ef8 use a string as deprecation origin to help with indirect references
3 weeks ago
Daniel Schmidt c9cc64a260 move stray check for deprecation to central location
3 weeks ago
Daniel Schmidt 844bcd8e2c contextualFromConfigBody should also apply for overridden diagnostics
3 weeks ago
Daniel Schmidt a96df66a9a display origin of deprecated value in diagnostic
3 weeks ago
Daniel Schmidt 3a36e7732b refactor: extract write snippet in diagnostic rendering
3 weeks ago
Daniel Schmidt ea7f1e3043 add extra origin information for deprecation diagnostics
3 weeks ago
Daniel Schmidt c02223e94c use value without deprecations after validating
3 weeks ago
Daniel Schmidt 5ee1bece21 detect deprecation marks in more places
3 weeks ago
Daniel Schmidt 0a9bfcc8d0 move test case to more appropriate PR
3 weeks ago
Daniel Schmidt 5b40f274b2 use EvalContext.Path to get module path for deprecation surpression
3 weeks ago