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
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
alwayshang
fd3736bd99
chore: fix repetitive words ( #1472 )
...
Signed-off-by: alwayshang <zhanghonghao@outlook.com>
2024-04-07 13:48:13 +02: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
8abb707c90
Improve panic handling within go-routines ( #1425 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-26 07:41:16 -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
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
586c45fe5a
Refactor encryption configuration ( #1387 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2024-03-13 10:58:52 -04: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
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
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
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
Joshua Shanks
4961996f51
Ignore version conflicts when unlocking state ( #1123 )
...
Signed-off-by: Joshua Shanks <jjshanks@gmail.com>
Signed-off-by: Kuba Martin <kubam@spacelift.io>
Co-authored-by: Kuba Martin <kubam@spacelift.io>
2024-01-17 12:02:27 +01:00
Joshua Shanks
a7125c651a
Return false when assertBackendStateLocked fails and update comments for it and assertBackendStateUnlocked ( #1106 )
...
Signed-off-by: Joshua Shanks <jjshanks@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2024-01-11 15:18:25 -05:00
Jon Johnson
cf0d953dc1
statemgr: Make Filesystem impl "correct" and fast ( #579 )
...
Signed-off-by: Jon Johnson <jon.johnson@chainguard.dev>
2024-01-03 10:28:17 -05:00
Ronny Orot
55651dca33
Backend/S3: Change default of use_legacy_workflow
to false and deprecate ( #1049 )
...
Signed-off-by: Ronny Orot <ronny.orot@gmail.com>
2023-12-24 10:19:01 +02:00
Christian Mesh
06b31cd26f
Replace additional Terraform -> OpenTofu ( #1007 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: James Humphries <jamesh@spacelift.io>
2023-12-13 11:35:41 -05:00
Christian Mesh
54d2130473
Find additional places where terraform should be replaced with tofu ( #1001 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2023-12-13 07:18:43 -05:00
Christian Mesh
25a6f51732
898 consolidate and remove tfe addr [part 2] ( #998 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2023-12-12 11:22:39 -05:00
Christian Mesh
abd324ea7c
Revert "Fixes #898 : Replace hashicorp and terraform references" ( #995 )
2023-12-11 15:10:03 -05:00
Janos
15bef1428a
Fixes #898 : Replace hashicorp and terraform references ( #973 )
...
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
Co-authored-by: Christian Mesh <christianmesh1@gmail.com>
2023-12-08 08:03:09 -05:00
Kuba Martin
5880b49645
Update aws-sdk-go-base and fix resulting type errors. ( #957 )
...
Signed-off-by: Jakub Martin <kubam@spacelift.io>
2023-12-01 16:37:31 +01:00
Dmitry Kisler
7faa8a81f8
Add dependencies for integration tests with Consul as backend ( #932 )
...
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2023-11-28 12:37:23 +01:00
Kuba Martin
5c8ed783bd
Add Azure integration test runbook. ( #924 )
...
One test is removed.
It doesn't seem to be a recommended mode of authentication and I have found no guide on how to configure it.
I've decided to skip this test in the suite, rather than spending more time to make it work.
Signed-off-by: Jakub Martin <kubam@spacelift.io>
2023-11-24 17:20:26 +01:00
Dmitry Kisler
398a2cf4f8
Add definition of integration tests with Postgres backend ( #920 )
...
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2023-11-24 14:48:03 +01:00
Dmitry Kisler
70dd385136
Add no_proxy
and https_proxy
attributes to s3 backend schema ( #896 )
...
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2023-11-20 14:37:59 +01:00
Christian Mesh
14b0765cb4
Fix S3 Remote State Backend Validation ( #876 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2023-11-15 10:19:42 -05:00
Christian Mesh
637c65f6f2
Update s3 remote state tests ( #865 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2023-11-14 10:40:25 -05:00
Christian Mesh
49f631d88b
S3 Client HeadObject requires SSE parameters ( #864 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2023-11-13 13:16:04 -05:00
Christian Mesh
e2d5a17e56
Address s3 compatible remote state issues + logging ( #840 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
2023-11-09 11:36:20 -05:00
James Humphries
9c24b6183a
Revert PRs that introduced propogating contexts ( #835 )
...
Co-authored-by: Dmitry Kisler <admin@dkisler.com>
2023-11-08 21:09:14 +00:00
Tomas
b2069bb0bb
Backend/S3: Update the Put
method ( #795 )
...
Signed-off-by: tomasmik <tomasmik@protonmail.com>
2023-11-06 09:49:19 +02:00
Marcin Białoń
16c6432c3a
Backend/S3: Add support for skip_requesting_account_id
( #788 )
...
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-11-03 15:24:33 +01:00
Igor Savchenko
572d8d95d1
Update user-agent from go-tfe to opentofu where go-tfe is used ( #807 )
2023-11-02 12:11:13 +01:00
Marcin Białoń
a1e110c679
Backend/S3: Custom Service Endpoint Configuration ( #794 )
...
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-31 10:02:58 +01:00
Kuba Martin
9c789368dc
Stop reading providers from the HashiCorp registry based on the statefile if not specified in code. ( #773 )
...
Signed-off-by: Jakub Martin <kubam@spacelift.io>
2023-10-27 16:23:41 +02:00
Marcin Białoń
c633b24824
Backend/S3: Add support for use_path_style
( #787 )
...
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-26 11:14:50 +02:00
Marcin Wyszynski
772ac1fc35
Pass context to all statemgr.Locker operations ( #789 )
...
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-10-25 14:22:11 +02:00
Marcin Wyszynski
275dd116f9
Pass context to all remote.Client operations ( #786 )
...
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-10-25 12:37:58 +02:00
Marcin Wyszynski
da1ba56b41
Make backend.Workspaces accept a context ( #784 )
...
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-10-24 19:59:28 +02:00
Marcin Białoń
55144fefed
Backend/S3: Add HTTP parameters for parity with AWS Provider ( #770 )
...
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 17:18:30 +02:00
Marcin Wyszynski
925db6dbc5
Make backend.DeleteWorkspace accept a context ( #782 )
...
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-10-24 16:55:03 +02:00
Marcin Białoń
545e5f0102
Backend/S3: Allow specifying retry mode for AWS API requests ( #769 )
...
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 16:42:08 +02:00
Marcin Białoń
46e1c66f45
Backend/S3: Add support for overriding EC2 Metadata Service endpoint ( #767 )
...
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 16:24:55 +02:00
Marcin Białoń
a4018f95cc
Backend/S3: Allow use of an alternative region for STS operations ( #768 )
...
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 15:51:51 +02:00
Marcin Białoń
4d38f26bf7
Backend/s3: Add support for assume_role_with_web_identity
block ( #759 )
...
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 15:51:32 +02:00
Marcin Wyszynski
a6a54c3777
Make backend.StateMgr accept a context ( #780 )
...
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-10-24 15:47:46 +02:00