Commit Graph

77 Commits (7e767490c87bae2fa2b60da33ecefa1b7a220afa)

Author SHA1 Message Date
Radek Simko e312ffc2d8
lang/functions: Add test for ephemeralasnull (#35652)
2 years ago
kmoe fab3673f8d
lang: stabilise ephemeral values experiment (#35636)
2 years ago
Martin Atkins 71d14e78fd lang: Experimental "ephemeralasnull" function
2 years ago
Martin Atkins 6f84623cb6 terraform: Initial partial support for ephemeral values
2 years ago
Martin Atkins 5e2281a9e0 lang: A new mark type for ephemeral values
2 years ago
Martin Atkins e23e6b84c7 lang/funcs: Allow some more expression types in templatestring
2 years ago
kmoe 1e2d4a2ecc
lang: stabilise templatestring func experiment (#35224)
2 years ago
Martin Atkins 9dd28fc2e5 funcs: Don't panic if templatefile path is sensitive
2 years ago
Martin Atkins edf335e7eb lang/funcs: Experimental "templatestring" function
2 years ago
Martin Atkins b5a4860a36 lang/marks: MarkPaths helper function
2 years ago
Martin Atkins 2334fc867c lang/marks: PathsWithMark helper function
2 years ago
Martin Atkins 545980d664 langrefs: Separate package for expression reference analysis
2 years ago
James Bardin 336145c384 update diagnostic message
2 years ago
James Bardin bac2f892c6 more helpful provider function diagnostics
2 years ago
Ansgar Mertens cd1306430b
fix(docs): Include product in relative link (#34510)
2 years ago
Daniel Schmidt 3a77065e69
add `issensitive` function
2 years ago
James Bardin 1644c2f63b check function descriptions directly
2 years ago
Martin Atkins 17d7f7ff24 lang: Scope accepts "External Functions"
2 years ago
Martin Atkins d1df979115 lang: Expose built-in functions under core:: namespace
2 years ago
Martin Atkins a2ca1208a4 lang: EvalCheckErrorMessage is language-agnostic
2 years ago
Liam Cervante b9f6b23ba3
testing framework: add support for functions in variables and providers (#34204)
2 years ago
Joao C Costa 47beda901e
nonsensitive: no longer produces error when applied to nonsensitive values (#33856)
2 years ago
CJ Horton 98b81d3c50 add missing copyright headers
3 years ago
Liam Cervante 9742f22c4e
Introduce 'run' keyword for referencing outputs from earlier run blocks (#33683)
3 years ago
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
3 years ago
James Bardin ea1144995f update callers of InstallModules
3 years ago
Liam Cervante 6882dd9530
testing framework: introduce test command optional flags (#33504)
3 years ago
James Bardin cf5ebaf685 s/Schemas/ProviderSchema/
3 years ago
James Bardin 4e8dd5866c update schemas type
3 years ago
Liam Cervante 212ae6c4ba
Introduce separate testing scope for reference validation (#33339)
3 years ago
Martin Atkins 81c15f987e lang/funcs: startswith considers string prefix refinement
3 years ago
Martin Atkins c912970153 lang/funcs: Non-null refinements for various functions
3 years ago
hashicorp-copywrite[bot] 325d18262e [COMPLIANCE] Add Copyright and License Headers
3 years ago
Zac Clifton 3bb6a5896b
Feat: Add strcontains function and documentation (#33069)
3 years ago
Liam Cervante aae6990d38
Add native `plantimestamp` function to Terraform (#32980)
3 years ago
Martin Atkins 9f827f57ae go.mod: Revert cty minor version v1.13 upgrade
3 years ago
Liam Cervante af05cbb645
Add support for scoped resources (#32732)
3 years ago
Liam Cervante 32f151f20b
Update HCL to handle type mismatches when applying defaults (#32775)
3 years ago
Alisdair McDiarmid 8df065a2fe initwd: Switch from earlyconfig to configs
3 years ago
Daniel Banck f29156cdef
Replace HTML entities in function descriptions (#32710)
3 years ago
Daniel Banck 4fd8322802
Add function descriptions (#32453)
3 years ago
Martin Atkins 8253821e56 go get github.com/zclconf/go-cty-yaml@v1.0.3
3 years ago
Martin Atkins 2ee9589650 lang/funcs: "timecmp" function
4 years ago
Martin Atkins 783a07d9e8 build: Use Go 1.19
4 years ago
James Bardin 893a5336d8 don't lose warnings from static validation
4 years ago
Joshua Barton fd3798b276 tests: add test cases around empty values
4 years ago
Joshua Barton c73c0ad63c feat: add startswith and endswith funcs
4 years ago
Alisdair McDiarmid 718b0875ef lang: Remove defaults function
4 years ago
Martin Atkins d4776e8ef1 lang/funcs: type conversion functions can convert null values
4 years ago
Martin Atkins 49d7c879ac Fix problems caught by staticcheck v0.3.0
4 years ago