Commit Graph

32253 Commits

Author SHA1 Message Date
Martin Atkins
3e7c2e7d0c
v1.8 Backport: Fix regression of backend reinit detection when backend schema has required arguments (#2135)
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2024-11-04 14:49:24 -05:00
Christian Mesh
e5b89195ff
Partially unknown provider functions arguments fixed (#2127) (#2133)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-11-04 14:27:52 -05:00
James Humphries
68c124a7ca
Bumped versionfile for 1.8 (#2097)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2024-10-23 11:58:47 -04:00
James Humphries
4bdffd1a9b
Backport recent changes to v1.8 (#2093)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: ollevche <ollevche@gmail.com>
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Oleksandr Levchenkov <ollevche@gmail.com>
2024-10-23 11:22:43 -04:00
Martin Atkins
09367956f1 CHANGELOG entry for #2055 and #2060
Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2024-10-09 12:10:52 -07:00
Martin Atkins
5d6fc11aa3 command/init: Support static eval for backend config migration check
The "backendConfigNeedsMigration" helper evaluates the backend
configuration inline to compare it with the object previously saved in the
.terraform/terraform.tfstate file.

However, this wasn't updated to use the new "static eval" functionality
and so was treating any references to variables or function calls as
invalid, causing a spurious "backend configuration changed" error when
re-initializing the working directory with identical backend configuration
settings.

Signed-off-by: Martin Atkins <mart@degeneration.co.uk>
2024-10-09 12:10:52 -07:00
Christian Mesh
7dfe15a7fa
Backport 1.8 handle static variable secrets (#2046)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-10-03 11:09:31 -04:00
Christian Mesh
37e1085f73
Make sure test vars are only processed during test commands (#2040)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-10-02 14:31:16 -04:00
Christian Mesh
1e61ce1bfd
Fix Terraform Version in 1.8.x Migration Guide (#1987) (#2000)
Signed-off-by: Arunim Chaudhary <arunim.chaudhary@stackguardian.io>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Arunim Chaudhary <47343112+arunim2405@users.noreply.github.com>
2024-09-19 14:42:37 -04:00
Christian Mesh
2e1d6103c7
Update docs version message (#1990) (#1997)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-09-18 11:22:39 -04:00
Christian Mesh
57868a9b76
Update version and changelog to 1.8.2 (#1968)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-09-04 14:04:32 -04:00
Christian Mesh
0e94739795
Backport bump go version to v1.8 (#1966)
Signed-off-by: Kazimierz Budzyk <kbudzyk@palantir.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: kazimierzbudzyk <62395833+kazimierzbudzyk@users.noreply.github.com>
2024-09-03 12:30:47 -04:00
Christian Mesh
0abe7c59e0
Better handling of key_provider references (#1921) (#1965)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-09-03 12:24:58 -04:00
Syasusu
56335a2c5f
fix inconsistent sidebar title of functions on v1.8 branch (#1907)
Signed-off-by: Syasusu <syasusu@163.com>
2024-08-12 16:24:15 +02:00
Christian Mesh
2b1167debd
Fix Docusaurus "broken link" warnings on 1.8 branch of docs (#1884) (#1898)
Signed-off-by: Tom Spurling <tom@tspurling.co.uk>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: may every hack help <137650446+mehhhhhhhhhhhhhhh@users.noreply.github.com>
Co-authored-by: Tom Spurling <tom@tspurling.co.uk>
2024-08-12 08:23:04 -04:00
Christian Mesh
7cdad9e993
Bump to 1.8.1 (#1893)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-08-07 09:16:02 -04:00
Christian Mesh
6832136f13
Fix missing module source panic (#1888) (#1889)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-08-05 12:33:12 -04:00
Christian Mesh
daa85bd203
Backport/v1.8/1876 (#1886)
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: RLRabinowitz <rlrabinowitz2@gmail.com>
Co-authored-by: Janos <86970079+janosdebugs@users.noreply.github.com>
2024-08-05 07:39:15 -04:00
Andrew Hayes
8609dbe71b
1666/tacos website docs backport to 1.8 (#1883)
Signed-off-by: Andrew Hayes <andrew.hayes@harness.io>
2024-08-02 09:50:46 -04:00
Christian Mesh
81b6b6773e
Fix 1.8 release workers (#1870)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Jakub Martin <kubam@spacelift.io>
Co-authored-by: Jakub Martin <kubam@spacelift.io>
2024-07-29 11:35:08 -04:00
Christian Mesh
d9e162c75a
Switch to alternate runner group (#1868)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-29 08:40:25 -04:00
Christian Mesh
ebdcae790e
Run releases on larger workers. (#1587) (#1867)
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 08:21:05 -04:00
Janos
b1834a2910
Added what's new docs for 1.8 (#1865)
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
2024-07-29 13:47:40 +02:00
Christian Mesh
9260e00bc2
Bump to v1.8.0 for release (#1866)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-29 13:45:14 +02:00
Christian Mesh
ec67c3fad6
Bump to 1.8.0-rc1 (#1848)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-07-23 09:36:42 -04:00
Christian Mesh
fbb9bd6b8a
Backport/v1.8/1843 (#1847)
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:34:34 -04:00
James Humphries
d28afdab5a
[Backport #1801] Sensitive path usage in templatefile shouldn't panic (#1846)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2024-07-23 09:24:36 -04:00
Ronny Orot
eb61c454f4
Backport[V1.8] #1841: Add documentation about the new .tofu extension (#1844) 2024-07-23 15:50:32 +03:00
Christian Mesh
0b2384a3ef
Backport/v1.8/1826 (#1829)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Co-authored-by: James Humphries <james@james-humphries.co.uk>
2024-07-18 08:11:39 -04: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