Commit Graph

60 Commits (add-missing-variable-loading)

Author SHA1 Message Date
James Bardin 7960f60d21
Merge pull request #38160 from hashicorp/jbardin/inline-type-conversion
1 month ago
Radek Simko 0fe906fa8c make copyrightfix
2 months ago
James Bardin 9ce50aa8a6 add convert function
2 months ago
Daniel Schmidt 2714cfde69 standardize on marks.Has
6 months ago
Liam Cervante 2a1b4c3ed4
Update go-cty and HCL for 1.13 release (#37298)
9 months ago
James Bardin f78adc889e add wrappers to verify file function results
11 months ago
Samsondeen 08fa94c2ed
Return error when the template's single interpolation results in null value (#36658)
1 year ago
Radek Simko 473e5931ac
lang/funcs/transpose: Avoid crash due to map with `null` values (#36611)
1 year ago
Radek Simko 289a3568da
Address `go vet` 1.24 failures (#36485)
1 year ago
Daniel Schmidt 6b49e80b50
ephemeral: add helper to remove ephemeral values from cty.Values
1 year ago
James Bardin 5ccb3c7c7a templatefile need to be unmarked for TypeFunc
1 year ago
James Bardin 833b07436f template variables may be entirely unknown
1 year ago
James Bardin b4c24c22f8 issensitive must return unknown for unknown args
1 year ago
James Bardin ac54255d68 unknown+ephem in length+lookup
1 year ago
James Bardin 2ae01741cd handle marked-unknowns in number funcs
1 year ago
James Bardin 651a80fb57 deal with unknown marked vals in fs funcs
1 year ago
James Bardin a51be5e930 lang functions must deal with unknown and marks
1 year ago
James Bardin c4741dcd4c there are other marks besides sensitive
1 year ago
James Bardin 1e011248ff Sensitive is not the only possible mark
1 year ago
James Bardin ca7b3c0c05 plantimestamp can be unknown during validation
1 year ago
Martin Atkins 71d14e78fd lang: Experimental "ephemeralasnull" function
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
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 d1df979115 lang: Expose built-in functions under core:: namespace
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
hashicorp-copywrite[bot] 53c34ff49c
Update copyright file headers to BUSL-1.1
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 32f151f20b
Update HCL to handle type mismatches when applying defaults (#32775)
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 2ee9589650 lang/funcs: "timecmp" function
4 years ago
Martin Atkins 783a07d9e8 build: Use Go 1.19
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
shinbunbun a1ead44c71
cidrnetmask() produce an error with IPv6 (#30703)
4 years ago
Alisdair McDiarmid 0764726e3e functions: Fix sum() of all strings
4 years ago
Alisdair McDiarmid 843c50e8ce lang: Further limit the console-only type function
4 years ago
Alisdair McDiarmid 903d6f1055 lang: Remove use of marks.Raw in tests
4 years ago