Commit Graph

32249 Commits

Author SHA1 Message Date
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
Oleksandr Levchenkov
c3ddd51d8c
update documentation images (#1864)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-07-29 11:47:07 -04:00
Christian Mesh
2506fb7bab
Always use large instance for release (#1869)
Signed-off-by: Jakub Martin <kubam@spacelift.io>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Kuba Martin <kubam@spacelift.io>
2024-07-29 11:35:22 -04:00
Andrew Hayes
d2b603c8b2
Fixes some of the links for the TACOS docs (#1862)
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-07-29 10:06:30 +01: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
kazimierzbudzyk
ba22acc00a
Bump go version to 1.21.11 (latest 1.21) (#1748)
Signed-off-by: Kazimierz Budzyk <kbudzyk@palantir.com>
2024-07-25 14:02:22 -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
Charlie Getzen
47da4f5789
fix changelog link (#1858)
Signed-off-by: Charlie Getzen <charliegetzenlc@gmail.com>
2024-07-25 09:12:10 +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
Christian Mesh
3b3822d770
Improve documentation around static evaluation (#1843)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: ollevche <ollevche@gmail.com>
Co-authored-by: ollevche <ollevche@gmail.com>
2024-07-23 09:31:50 -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
Andrew Hayes
520165c089
Adds TACOS page to docs and links to it from all mentionds of TACOS (#1836)
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-07-23 09:55:58 +01:00
Ronny Orot
faf9f6aedc
Add documentation about the new .tofu extension (#1841)
Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
2024-07-22 18:35:59 +03: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
Janos
5079292cb2
Weekly update 2024-07-18 (#1834)
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
2024-07-18 08:08:39 -04:00
Christian Mesh
2124b34f08
Set next version to 1.9.0 (#1830)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-18 07:56:58 -04:00
Christian Mesh
898c573000
More backport fixes (#1828)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-17 12:18:49 -04:00
Christian Mesh
6f30b18323
Add content write permissions to backport job (#1827)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-17 12:00:43 -04: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
Jon Johnson
b6c31dfb87
Fix RFC template link (#1821)
Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
2024-07-15 14:07:56 -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
f668c48ffd
Update changelog and version for 1.8.0-beta2 (#1807)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-11 11:14:09 -04: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
Christian Mesh
5f8497b86b
Update changelog and bump version for 1.8.0-beta1 (#1785)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-09 10:07:13 -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
Siddhartha Sonker
bb1176d3a6
Added backport.yml to automate backport process (#1452)
Signed-off-by: siddharthasonker95 <158144589+siddharthasonker95@users.noreply.github.com>
2024-07-09 13:12:51 +01: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
Oleksandr Levchenkov
fcfeb6dd60
ignore any lock file on license header check (#1776)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-07-08 15:27:11 +03:00
Mikel Olasagasti Uranga
8ed42dd715
Bump github.com/hashicorp/go-retryablehttp to fix CVE-2024-6104 (#1752)
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2024-07-02 12:58:14 +02:00
Mikel Olasagasti Uranga
79e29ca7bc
Bump github.com/hashicorp/go-getter to fix CVE-2024-6257 (#1751)
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2024-07-02 12:58:06 +02: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
Christian Mesh
e2b6b46d43
Bump version to 1.8.0-alpha1 and cleanup CHANGELOG (#1745)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-06-24 10:47:41 -04: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