Commit Graph

2060 Commits

Author SHA1 Message Date
Alex Ott
5407c427bf
Improve performance of AttachResourceConfigTransformer on big graphs (#1558)
Signed-off-by: Alex Ott <alexott@gmail.com>
2024-04-29 11:36:54 -04:00
Christian Mesh
25149e1f6e
Add tests for AttachResourceConfigTransformer (#1570)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-04-29 11:36:31 -04:00
Mikhail Mazurskiy
52eb928e6a
HTTP backend client cleanup (#1455)
Signed-off-by: Mikhail Mazurskiy <mmazurskiy@gitlab.com>
2024-04-25 11:31:54 -04:00
Siddhartha Sonker
de30707b6b
Fix for tofu init failure when test have spaces in their name (#1489)
Signed-off-by: siddharthasonker95 <158144589+siddharthasonker95@users.noreply.github.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2024-04-25 11:11:38 -04:00
1garo
d869923103
Review and order locked struct fields (#1493)
Signed-off-by: 1garo <alevardai427@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2024-04-25 10:25:13 -04:00
Christian Mesh
535a705efe
Fix e2e test_test on darwin amd64 (#1551)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-04-25 08:08:14 -04:00
Christian Mesh
c90ea9024d
Cleanup ContextPlugins after function changes (#1550)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-04-25 07:19:15 -04:00
coderwander
c59d95ba0d
Fix struct names (#1494)
Signed-off-by: coderwander <770732124@qq.com>
2024-04-25 08:15:46 +02:00
Oleksandr Levchenkov
f36def0a45
fix each and count usage in import for sensitive values (#1530)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-04-22 22:12:03 +02:00
Christian Mesh
54e3b66dc1
Provider Defined Functions direct e2e test (#1476)
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-04-22 13:15:59 +01:00
Christian Mesh
a69d19d9f3
Allow configured providers to provide additional functions. (#1491)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-04-18 15:11:38 +02:00
James Humphries
0c8991fca5
Introduce locking on the hook mocks to avoid data race failures (#1505)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2024-04-18 08:31:11 +01:00
Ronny Orot
dcc1fa3b88
Support for_each syntax in import block (#1492)
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
Co-authored-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2024-04-17 17:12:10 +03:00
David Sims
1f3db74281
HTTP backend user-defined headers (#1487)
Signed-off-by: David Sims <simsdj82@gmail.com>
2024-04-16 14:45:56 +02:00
Arel Rabinowitz
63c88507a8
Make import block's to possibly more dynamic (#1270)
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
Co-authored-by: Ronny Orot <ronny.orot@gmail.com>
2024-04-15 13:06:35 +03:00
Christian Mesh
d7e96665f6
Add unencrypted Method for migrations (#1458)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-04-12 09:38:21 -04:00
Christian Mesh
b868012192
Integrate provider functions (#1439)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-04-10 08:04:08 -04:00
guangwu
2d373f16fa
fix: close manifest file (#1479)
Signed-off-by: guangwu <guoguangwug@gmail.com>
2024-04-10 14:41:53 +03:00
Oleksandr Levchenkov
e1e182987b
add OpenBao as key provider for state encryption (#1436)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-04-08 13:38:17 +01:00
alwayshang
fd3736bd99
chore: fix repetitive words (#1472)
Signed-off-by: alwayshang <zhanghonghao@outlook.com>
2024-04-07 13:48:13 +02:00
Oleksandr Levchenkov
d146acd2e6
fix e2e init test for windows (#1461)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-04-04 17:05:17 +03:00
Syasusu
bdab86962f
feat: init and get command support json format output (#1453)
Signed-off-by: Syasusu <syasusu@163.com>
2024-04-02 12:32:37 -04:00
Ashwin Annamalai
046beee664
Change numbers to make tests work in i386 (#1454)
Signed-off-by: Ashwin Annamalai <4549937+IgnorantSapient@users.noreply.github.com>
2024-04-01 15:13:26 -04:00
Yuvraj
aa8b4a7cca
feat: add retry in provider install (#1255)
Signed-off-by: Yuvraj <evalsocket@gmail.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: James Humphries <James@james-humphries.co.uk>
2024-04-01 12:41:18 -04:00
Sanskruti Shahu
08f9a740ac
Added support to use .tfvars files from tests folder (#1386)
Signed-off-by: sanskruti-shahu <sanskruti.shahu@harness.io>
2024-03-29 08:44:27 -04:00
Christian Mesh
c03a4b93f8
Remove some unused provider schema abstractions (#1444)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-29 08:20:46 -04:00
Oleksandr Levchenkov
02e12d054e
ignore AccessDenied error on listing workspaces in S3 (#1445)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-03-29 14:08:34 +02:00
Christian Mesh
969a7e0a99
Add provider functions to provider.Interface with GRPC implementation (#1437)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-28 12:56:58 -04:00
chenzj
dcec46ef0b
Insert configuration marks to state value when import (#1350)
Signed-off-by: Zejun Chen <tibazq@gmail.com>
2024-03-28 11:19:22 -04:00
Christian Mesh
979bf5ce3f
Fix #1407: Pass through metadata fields in state encryption (#1417)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-28 11:14:08 -04:00
Oleksandr Levchenkov
641751f163
remove GCP KMS key reading from env (#1440)
Signed-off-by: ollevche <ollevche@gmail.com>
2024-03-28 07:43:54 -04:00
Christian Mesh
63252aa2da
Update to tfplugin proto 5.5 and 6.5 (#1435)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-26 14:36:26 -04:00
Christian Mesh
f02bb11812
Generate all encryption keys during encryption setup (#1421)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: James Humphries <jamesh@spacelift.io>
2024-03-26 07:43:34 -04:00
Christian Mesh
8abb707c90
Improve panic handling within go-routines (#1425)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-26 07:41:16 -04:00
Syasusu
c0f6b189b5
fix: large number are truncated in plan (#1382)
Signed-off-by: Syasusu <syasusu@163.com>
2024-03-26 07:18:59 -04:00
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