Commit Graph

289 Commits

Author SHA1 Message Date
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
Marcin Wyszynski
f906c4792a
Make backend.Configure accept a context (#779)
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-10-24 13:55:21 +02:00
Marcin Białoń
d12ccd12bb
Backend/S3: Add support for custom CA bundle (#762)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 13:36:32 +02:00
Marcin Białoń
10f7aeff66
backend/s3: skip account verification when no constraints given (#772)
Signed-off-by: Marcin Białoń <mbialon@spacelift.io>
2023-10-24 13:34:43 +02:00
Marcin Wyszynski
b17374dc44
Make backend.PrepareConfig accept a context (#777)
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-10-24 13:34:15 +02:00
Marcin Wyszynski
bda32938e4
Make backend.ConfigSchema accept a context (#776)
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-10-24 13:14:01 +02:00
Tomas
e1b3b4ff82
S3 backend add account ID whitelisting arguments (#760)
Signed-off-by: tomasmik <tomasmik@protonmail.com>
2023-10-20 15:03:54 +03:00
Tomas
080d89c9b6
Backend/S3: Extract assume_role as a separate block (#754)
Signed-off-by: tomasmik <tomasmik@protonmail.com>
2023-10-20 10:11:18 +03:00
Elbaz
f4402d2d2a
Upgrade AWS SDK (#701)
Signed-off-by: Elbaz <eranelbaz97+github@gmail.com>
Signed-off-by: tomasmik <tomasmik@protonmail.com>
Co-authored-by: tomasmik <tomasmik@protonmail.com>
2023-10-19 15:00:36 +03:00
RLRabinowitz
26fb627af9
Remove all Terraform mentions in STDOUTs in the codebase (#704) 2023-10-12 14:24:04 +01:00
Andrew den Hertog
d80fd2a302
fix(s3): allow aliases for kms key (#670)
Signed-off-by: Andrew den Hertog <andrew@denhertog.ca>
2023-10-10 15:32:52 +02:00
Elbaz
01cf4cda3f
Update placeholderplaceholderplaceholder occurrences to our doc site (#684) 2023-10-10 12:54:03 +03:00
Lars Lehtonen
0f8707391f
internal/backend/remote-state/kubernetes: Demote Exported Functions (#621)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-10-04 11:16:27 +02:00
RLRabinowitz
e0ecd2ebb3
Use registry.opentofu.org as the default registry (#379)
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2023-10-03 10:49:38 +03:00
Dmitry Kisler
a127607a85
Rename terraform to tofu in GoString method and docstrings (#576)
Signed-off-by: Dmitry Kisler <admin@dkisler.com>
2023-09-26 19:09:27 +02:00
Lars Lehtonen
0837ccb6a8
internal/backend: wrap formatted test errors (#547) 2023-09-26 16:32:08 +03:00
Yaron Yarimi
487d9bc6a4
Rename multiple packages to OpenTofu (addrs, backend, command) (#506) 2023-09-21 15:38:46 +03:00
Yaron Yarimi
794e3413bb
Rename opentf package to tofu (#466) 2023-09-20 15:16:53 +03:00
Elbaz
b524b2bdbe
Update internal/httpclient folder to OpenTofu (#467) 2023-09-20 14:59:20 +03:00
Yaron Yarimi
c8acedd885
Rename github.com/placeholderplaceholderplaceholder/opentf to github.com/opentofu/opentofu (#461) 2023-09-20 14:35:35 +03:00