Commit Graph

2025 Commits

Author SHA1 Message Date
Oleksandr Levchenkov
739a66a86c
fix panic when encryption enabled for remote and cloud backends (#1431)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-03-25 20:42:18 +02:00
Christian Mesh
230fc89a28
GCP KMS for Key Provider for Encryption (#1392)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-18 15:54:20 -04:00
James Humphries
73f5fbf4bc
Added aws_kms key provider compliance tests (#1395)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-18 14:48:19 -04:00
Janos
8c99c75229
[State Encryption] Compliance tests (#1377)
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
2024-03-14 15:53:40 +01:00
Janos
19a994ee7f
Documentation updates for 1.7.0-alpha1 (state encryption) (#1396)
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
2024-03-14 15:05:05 +01:00
dependabot[bot]
12e7b4a440
Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 (#1393)
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: James Humphries <james@james-humphries.co.uk>
2024-03-14 12:09:28 +00:00
Syasusu
e25c06c673
Fix: improve unit test coverage for ProvisionerBlock decode (#1324)
Signed-off-by: Syasusu <syasusu@163.com>
2024-03-13 13:45:45 -04:00
chenzj
8d2216d24b
Fix: don't panic when both source and content of file provisioner are null (#1376)
Signed-off-by: Zejun Chen <tibazq@gmail.com>
2024-03-13 13:45:36 -04:00
Christian Mesh
07a9185767
Initial implementation of aws_kms encryption.key_provider (#1349)
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-03-13 13:19:20 -04:00
Christian Mesh
abb7bc4c52
Encryption e2e tests (#1389)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-13 13:06:03 -04:00
Christian Mesh
586c45fe5a
Refactor encryption configuration (#1387)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-13 10:58:52 -04:00
Janos
4c4d9bca67
Fixed crash on encryption use (#1384)
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
2024-03-13 12:00:31 +01:00
Jonas Bakken
fc5ffe4edd
feat: implement issensitive function (#1381)
Signed-off-by: Jonas Bakken <jonasbakken@protonmail.com>
2024-03-13 11:22:58 +01:00
chenzj
ff79db26c8
fix: unit test of package internal/builtin for windows #1281 (#1383)
Signed-off-by: Zejun Chen <tibazq@gmail.com>
2024-03-13 11:14:20 +01:00
Karthik Nayak
311b5c37b0
Issue 248: left-over resources after tofu test should be written to a file (#1243)
Signed-off-by: kazzhar <karthik.nayak@harness.io>
2024-03-12 15:29:06 +01:00
Christian Mesh
b51396fed5
Allow for templatefile recursion (up to 1024 depth default) (#1250)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Janos <86970079+janosdebugs@users.noreply.github.com>
2024-03-11 10:00:06 -04:00
Christian Mesh
b052880246
Encryption should require an explicit fallback (#1364)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-11 09:24:59 -04:00
Janos
a18e643a8d
PBKDF2 passphrase key provider (#1310)
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: James Humphries <jamesh@spacelift.io>
2024-03-11 14:24:31 +01:00
Christian Mesh
cef62ea738
Update to encryption key provider interface (#1351)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-08 07:55:08 -05:00
Christian Mesh
5ab6167bbf
Initial wiring of encryption through the command package (#1316)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-07 08:55:57 -05:00
Janos
fa638907f1
Fixes #1169: AES-GCM implementation (#1291)
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: James Humphries <James@james-humphries.co.uk>
Co-authored-by: James Humphries <jamesh@spacelift.io>
Co-authored-by: Serdar Dalgıç <serdardalgic@users.noreply.github.com>
Co-authored-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-07 10:24:37 +00:00
Brian Vander Schaaf
783100123c
fix: test flakiness from nondeterministic waiting (#1337)
Signed-off-by: Brian Vander Schaaf <6099457+bvand@users.noreply.github.com>
2024-03-06 16:25:14 -05:00
Mikel Olasagasti Uranga
9b37edd359
Switch from mitchellh/mapstructure to go-viper/mapstructure/v2 (#1330)
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2024-03-06 13:26:22 +01:00
Christian Mesh
36eb93f958
Integrate encryption config into configs package (#1295)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-04 11:04:45 -05:00
Christian Mesh
2f5dcd5c0a
Integrate Encryption into State Backends (#1288)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-04 09:25:14 -05:00
Christian Mesh
ac3ed86617
Integrate encryption into plan serialization (#1292)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-04 09:00:29 -05:00
Christian Mesh
997e5fa46e
State Encryption Error Handling / Diagnostics (#1294)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-04 08:30:30 -05:00
chenzj
2485299cd4
Fix: unit test of package internal/addr for windows #1281 (#1325)
Signed-off-by: Zejun Chen <tibazq@gmail.com>
2024-03-04 11:41:04 +00:00
Pooria Ghaedi
b5889b10eb
Feat: urldecode function #1234 (#1283)
Signed-off-by: pooriaghaedi <pooria.ghaedi@gmail.com>
2024-03-01 15:09:45 +00:00
Sanskruti Shahu
835dcb8121
Added templatestring function similar to templatefile (#1223)
Signed-off-by: sanskruti-shahu <sanskruti.shahu@harness.io>
Signed-off-by: Sanskruti Shahu <76054960+sanskruti-shahu@users.noreply.github.com>
Co-authored-by: James Humphries <James@james-humphries.co.uk>
2024-02-28 09:56:05 -05:00
Shashwat Pandey
96b7fce5d1
issue 966: different user agent for unit tests (#1279)
Signed-off-by: Shashwat Pandey <72958686+SypherSP@users.noreply.github.com>
2024-02-22 08:45:06 +00:00
chenzj
0b6d8ba2a5
fix: internal/config unit test for windows (#1281)
Signed-off-by: Zejun Chen <tibazq@gmail.com>
2024-02-21 14:39:59 -05:00
Ronny Orot
e9fe0f1118
Add support for removed block (#1158)
Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
2024-02-21 10:31:44 +02:00
Siddhartha Sonker
accfe1c412
Allow referencing output from test run in local variables block (tofu test) (#1254)
Signed-off-by: siddharthasonker95 <158144589+siddharthasonker95@users.noreply.github.com>
2024-02-19 10:18:56 +00:00
Arel Rabinowitz
857466c1de
Fix race when using ResolvedImports (#1277)
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2024-02-19 11:10:24 +02:00
James Humphries
cbab4bee83
State Encryption Documentation and Partial Implementation (#1227)
Signed-off-by: StephanHCB <sbs_github_u43a@packetloss.de>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Co-authored-by: StephanHCB <sbs_github_u43a@packetloss.de>
Co-authored-by: Janos <86970079+janosdebugs@users.noreply.github.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2024-02-16 14:59:19 +00:00
James Humphries
7054dda96e
Introduced consistent ordering of aliases in help text (#1244)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2024-02-15 10:54:39 +00:00
Shashwat Pandey
3d30842cf0
306 concise mode for plan (#1225)
Signed-off-by: Shashwat Pandey <72958686+SypherSP@users.noreply.github.com>
2024-02-14 13:21:35 +01:00
Arel Rabinowitz
80f72cecfe
Import ForEach: Prerequisite - Prepare codebase for dynamic addresses for ImportTargets (#1207)
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2024-02-08 16:05:12 +02:00
namgyalangmo
cb2e9119aa
Update copyright notice (#1232)
Signed-off-by: namgyalangmo <75657887+namgyalangmo@users.noreply.github.com>
2024-02-08 09:48:59 +00:00
James Humphries
199ec898e6
Resolve more inconsistencies in 32-bit systems (#1214)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
Co-authored-by: Isaac Parker <parrotmac@gmail.com>
2024-02-02 13:46:38 +00:00
Philippe Desmarais
64f419e335
Fix data race condition due to shared slice (#1144) (#1182)
Signed-off-by: Philippe Desmarais <philippe.desmarais0trash@gmail.com>
2024-02-01 11:00:22 -05:00
lettucemode
d9e023353f
Added aliases for state list, state mv, and state rm (#1220)
Signed-off-by: Steven Hyland <2knowindeed@gmail.com>
2024-02-01 10:54:09 -05:00
Dmitry Kisler
7d73f2bbe6
Refactor tests to follow a safer way of setting envvars (#1215)
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2024-01-31 11:25:02 +01:00
Mario Valderrama
e84b2f7f95
Support the XDG Base Directory Specification (#1200)
Signed-off-by: Mario Valderrama <mario.valderrama@ionos.com>
2024-01-31 11:04:09 +01:00
Will Yardley
f96cb50405
command/views: Remove extra newline in validate output (#764)
Signed-off-by: William Yardley <wyardley@users.noreply.github.com>
2024-01-30 13:40:33 +01:00
Mikel Olasagasti Uranga
ceaa079937
Update to latest github.com/bmatcuk/doublestar (#1194)
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
2024-01-25 17:52:20 +01:00
James Humphries
92a055b60f
Improve stability on 32-bit architectures (#1154)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2024-01-23 15:17:53 +00:00
Kuba Martin
9f95a840b0
Fix running tofu show and tofu state show with state files that reference Terraform registry providers. (#1141)
Signed-off-by: Jakub Martin <kubam@spacelift.io>
2024-01-18 13:58:33 +01:00
Christian Mesh
249ed42fb1
Run block variable references (#1129)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-01-17 06:57:14 -05:00