Christian Mesh
ffeded20a4
Better handling of key_provider references ( #1921 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-08-29 10:32:01 -04:00
Christian Mesh
3c45c30249
Move varhcl (body variable inspection) into hcl fork ( #1919 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-08-23 10:01:07 -04:00
Ronny Orot
23d69e2351
Cloud Backend - Fix logic that forces TF_WORKSPACE to be equal to a tag name ( #1930 )
...
Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
2024-08-22 10:55:50 +03:00
Christian Mesh
6f01428333
Fix missing module source panic ( #1888 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-08-05 12:12:32 -04:00
Christian Mesh
ed612a35ac
Fix extra file generated in tests of #1554 ( #1880 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-08-02 07:33:13 -04:00
Christian Mesh
ce24a6b961
Better var file type detection ( #1881 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-08-02 07:29:40 -04:00
Andrew Hayes
131c2cadda
Adds multi line support to console ( #1875 )
...
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-08-02 10:21:44 +01:00
Syasusu
1c0cb13bf7
feat: Add support for tofu.workspace which will be resolved in the same way as terraform.workspace ( #1305 )
...
Signed-off-by: Syasusu <syasusu@163.com>
2024-08-01 08:14:34 -04:00
Jon Johnson
e23aacb440
Avoid copies on calls to parser.Sources() ( #1811 )
...
Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
2024-07-29 16:15:51 -04:00
Jon Johnson
8f001311ad
Improve ModuleExpansionTransformer performance ( #1809 )
...
Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
2024-07-29 15:55:37 -04:00
Ronny Orot
884410e63a
Add more tests and refactor import for_each ( #1645 )
...
Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
2024-07-26 11:01:47 -04:00
Jon Johnson
a003782fec
Assert that NodeRootVariable implements Execute ( #1857 )
...
Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
2024-07-26 07:32:33 -04:00
Tony Yin
cccd8c85b4
Bump apparentlymart/go-versions to 1.0.2 to fix NOT prerelease constraint issue. ( #1859 )
...
Signed-off-by: Tony Yin <chang.yu.yin@fmr.com>
2024-07-25 12:07:23 +02:00
Jon Johnson
7d94797219
Only call StringWithNodeTypes for TRACE logs ( #1810 )
...
Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
2024-07-24 13:44:20 -04:00
Christian Mesh
eb69100dbd
Add missing [options] to help text where applicable ( #1855 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-24 09:27:07 -04:00
James Humphries
89926cc97a
Ensure that using a sensitive path for templatefile that it doesnt panic ( #1801 )
...
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2024-07-23 09:06:02 -04:00
Siddhartha Sonker
579d74c409
Add -show-sensitive flag to tofu plan, apply, state-show and output commands ( #1554 )
...
Signed-off-by: siddharthasonker95 <158144589+siddharthasonker95@users.noreply.github.com>
2024-07-22 10:58:57 +01:00
James Humphries
cc91bf25f5
use dynamic types when handling variables during plan and show static evaluation ( #1826 )
...
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2024-07-17 11:46:24 -04:00
Emre Duzgun
b93acf96a9
Fix more tests on Windows ( #1824 )
...
Signed-off-by: eduzgun <emreduz00@gmail.com>
2024-07-17 10:41:12 -04:00
Denis O
864aa9d1d6
Error handling fixes ( #1816 )
...
Signed-off-by: Denis O <denis.o@linux.com>
2024-07-15 11:58:43 +02:00
Christian Mesh
ee75b40d14
Update help text for static variable support ( #1804 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-11 11:00:18 -04:00
Christian Mesh
0a53bab15d
Fix tofu validate with static variables ( #1788 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-11 10:16:20 -04:00
Christian Mesh
5f1509d8c7
Remove encryption diags from autocomplete ( #1793 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-10 10:07:11 -04:00
Oleksandr Levchenkov
76e2d7c4fc
fix: providers block shouldn't be merged with file mocks in tofu test ( #1791 )
...
Signed-off-by: ollevche <ollevche@gmail.com>
Signed-off-by: Oleksandr Levchenkov <ollevche@gmail.com>
Co-authored-by: Arel Rabinowitz <30493345+RLRabinowitz@users.noreply.github.com>
2024-07-10 16:18:09 +03:00
Christian Mesh
dcaa01e1ca
Include .tofu in tofu fmt ( #1790 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-10 09:06:08 -04:00
James Humphries
12d9380982
Improve comparison of sensitive marks on resources, and propagate the sensitive_attributes correctly ( #1640 )
...
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2024-07-09 08:42:02 -04:00
Oleksandr Levchenkov
9d9a7aab06
add mock providers for testing framework ( #1772 )
...
Signed-off-by: ollevche <ollevche@gmail.com>
2024-07-09 14:41:52 +03:00
Christian Mesh
2c5c8a5f72
Fix plan static variable injection ( #1771 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Co-authored-by: James Humphries <james@james-humphries.co.uk>
2024-07-09 07:17:45 -04:00
Andrew Hayes
3ef6d45afe
Adds source context for the 'insufficient feature blocks' error ( #1777 )
...
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-07-09 09:56:07 +01:00
Andrew Hayes
7e706fa1a7
Adds provider function to tofu scheme/metadata commands ( #1753 )
...
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-07-01 16:41:27 +01:00
Christian Mesh
edc654c1de
Hardcode golangci-lint revision to fix build on main ( #1759 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-01 10:47:26 -04:00
Ikko Eltociear Ashimine
fa18e32e12
chore: update version4.go ( #1754 )
...
Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
Signed-off-by: Ikko Ashimine <ashimine_ikko_bp@tenso.com>
2024-07-01 10:04:49 -04:00
Oleksandr Levchenkov
374c9eedd3
refactor Scope.evalContext to meet linting criteria ( #1750 )
...
Signed-off-by: ollevche <ollevche@gmail.com>
2024-07-01 16:19:29 +03:00
Oleksandr Levchenkov
19b5287b8f
allow static evaluations in encryption configuration ( #1728 )
...
Signed-off-by: ollevche <ollevche@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Oleksandr Levchenkov <ollevche@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2024-06-24 10:18:16 -04:00
Christian Mesh
8f8e0aa4aa
Static Evaluation Base, Module Sources, Backend Config ( #1718 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Christian Mesh <cristianmesh1@gmail.com>
Co-authored-by: James Humphries <James@james-humphries.co.uk>
Co-authored-by: Oleksandr Levchenkov <ollevche@gmail.com>
2024-06-24 09:13:07 -04:00
Ronny Orot
ab289fc07c
OpenTofu Specific Code Override: Add support to .tofu files ( #1738 )
...
Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
2024-06-24 16:10:35 +03:00
chenzj
1ecb2dcae3
Fixes: show insensitive plan details when resource in set with sensitive value ( #1313 )
...
Signed-off-by: Zejun Chen <tibazq@gmail.com>
Signed-off-by: chenzj <tibazq@gmail.com>
Co-authored-by: Oleksandr Levchenkov <ollevche@gmail.com>
2024-06-20 14:06:33 -04:00
Janos
261b966562
Fixes #1594 : Support lower-case http/https_proxy env variables in S3 backend ( #1736 )
...
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
2024-06-20 11:11:19 -04:00
Emre Duzgun
502877dbf7
initwd Windows tests fixes ( #1723 )
...
Signed-off-by: eduzgun <emreduz00@gmail.com>
Signed-off-by: Emre Duzgun <100037959+eduzgun@users.noreply.github.com>
2024-06-18 10:49:30 -04:00
Christian Mesh
2d72c90de1
Remove unused config parser ( #1732 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-06-18 05:49:10 -04:00
Arel Rabinowitz
927d1a5759
Remove use_legacy_workflow from the S3 backend configuration ( #1730 )
...
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2024-06-17 13:33:10 -04:00
Arel Rabinowitz
5667df4969
Change link for missing module or missing provider ( #1724 )
...
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2024-06-16 11:46:37 -04:00
Janos
e502f4b83e
Friendlier error message for provider signing errors ( #1712 )
...
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
2024-06-13 13:58:54 +02:00
Oleksandr Levchenkov
568ff66bef
add early validation for enforced encryption methods ( #1711 )
...
Signed-off-by: ollevche <ollevche@gmail.com>
2024-06-12 21:06:06 +03:00
Emre Duzgun
b0725807ff
fix internal/states unit tests Windows ( #1714 )
...
Signed-off-by: eduzgun <emreduz00@gmail.com>
2024-06-10 13:19:57 -04:00
Oleksandr Levchenkov
64fb36dc54
add override implementation for testing framework ( #1499 )
...
Signed-off-by: ollevche <ollevche@gmail.com>
Signed-off-by: Oleksandr Levchenkov <ollevche@gmail.com>
Co-authored-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Co-authored-by: Ronny Orot <ronny.orot@gmail.com>
2024-06-06 13:20:41 +03:00
Oleksandr Levchenkov
5a161c8bcc
add automated copyright header check ( #1696 )
...
Signed-off-by: ollevche <ollevche@gmail.com>
Signed-off-by: Oleksandr Levchenkov <ollevche@gmail.com>
2024-06-03 16:49:36 +03:00
Siddhartha Sonker
9138470a67
Allowed variable to pass inside variables block ( #1488 )
...
Signed-off-by: siddharthasonker95 <158144589+siddharthasonker95@users.noreply.github.com>
2024-06-03 18:44:05 +05:30
Alex Ott
7e1a02cbb8
Make persist interval for remote state backend configurable ( #1591 )
...
Signed-off-by: Alex Ott <alexott@gmail.com>
Co-authored-by: Siddhartha Sonker <158144589+siddharthasonker95@users.noreply.github.com>
2024-05-28 13:47:16 -04:00
Christian Mesh
882b942575
Provider functions in variable validations ( #1689 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-05-28 11:05:34 -04:00