James Humphries
c1f1008723
Replace mock module with go.uber.org/mock ( #1673 )
...
Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info >
Signed-off-by: James Humphries <james@james-humphries.co.uk >
Co-authored-by: Mikel Olasagasti Uranga <mikel@olasagasti.info >
2025-01-10 08:29:20 -05:00
Ilia Gogotchuri
ffa43acfcd
Azurerm backend timeout ( #2263 )
...
adds a timeout_seconds configuration variable with a default value to the AzureRM backend
Signed-off-by: Ilia Gogotchuri <ilia.gogotchuri0@gmail.com >
2024-12-06 17:32:23 +04:00
Haider Bari
dbea01eea6
Add DEBUG-level logging to the "http" state storage backend ( #2120 )
...
Signed-off-by: Bari, Haider <haider.bari@fmr.com >
Co-authored-by: Bari, Haider <haider.bari@fmr.com >
2024-11-20 16:36:45 +02:00
Haider Bari
eb15415a2d
"http" backend to return existing lock metadata on lock conflict, rather than new lock metadata ( #2090 )
...
Signed-off-by: Bari, Haider <haider.bari@fmr.com >
Co-authored-by: Bari, Haider <haider.bari@fmr.com >
2024-11-19 14:57:19 +02:00
Alexandru Trendler
48abc52e46
bug: add error handling for missing state lock config in S3, HTTP and OSS backends ( #1977 )
...
Signed-off-by: g0dfl3sh <alex1trendler@gmail.com >
Signed-off-by: Alexandru Trendler <117138249+g0dfl3sh@users.noreply.github.com >
Co-authored-by: Oleksandr Levchenkov <ollevche@gmail.com >
2024-09-20 18:29:36 +02:00
Nathan Baulch
9b7bec31b4
Another batch of minor typos ( #1953 )
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com >
2024-09-09 07:51:39 -04:00
Nathan Baulch
ea558d9d4b
Fix typos ( #1905 )
...
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com >
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
Co-authored-by: Christian Mesh <christianmesh1@gmail.com >
2024-08-29 13:20:33 -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
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
Arel Rabinowitz
927d1a5759
Remove use_legacy_workflow from the S3 backend configuration ( #1730 )
...
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com >
2024-06-17 13:33:10 -04:00
Oleksii Prudkyi
6ec06c86f5
gcs backend: fix race condition on locking ( #1342 )
...
Signed-off-by: Oleksii Prudkyi <Oleksii.Prudkyi@gmail.com >
2024-05-23 09:57:02 -04:00
Caleb Van Dyke
bffb968c1f
ensure authorization header is included for http backends ( #1657 )
...
Signed-off-by: CalebTVanDyke <ctvandyke24@gmail.com >
2024-05-20 18:03:56 +02:00
Christian Mesh
08469452b6
Fix inmem backend crash due to missing struct field ( #1619 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
2024-05-07 09:09:14 -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
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
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
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
2f5dcd5c0a
Integrate Encryption into State Backends ( #1288 )
...
Signed-off-by: Christian Mesh <christianmesh1@gmail.com >
2024-03-04 09:25:14 -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
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
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
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
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