Commit Graph

276 Commits

Author SHA1 Message Date
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
Lars Lehtonen
9e94fa8860
Missed Wrapped Errors (#441) 2023-09-19 10:10:18 +03:00
Lars Lehtonen
9724c4d748
backend/remote-state/http: tests support go1.21 (#391) 2023-09-18 09:01:28 +01:00
Lars Lehtonen
8044800a31
internal/backend: wrap formatted errors (#396) 2023-09-14 13:57:12 +03:00
Lars Lehtonen
bfbe8ee4df
internal/backend: deprecate io/ioutil (#312)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-09-06 19:41:23 +02:00
Marcin Wyszynski
12897327b6
Require hostname for cloud/remote backends and login/logout (#291)
Signed-off-by: Marcin Wyszynski <marcin.pixie@gmail.com>
2023-09-06 12:54:39 +02:00
RLRabinowitz
035896a665 Remove terraform test file names in internal/backend/remote tests 2023-08-28 17:14:19 +03:00
RLRabinowitz
90dce4dd3c go fmt, change import order 2023-08-28 14:22:54 +03:00
RLRabinowitz
42e7c5b25c Replace internal/terraform -> internal/opentf 2023-08-28 14:21:34 +03:00
Elbaz
4cfd023dc9
Merge pull request #186 from opentffoundation/chore-change-user-agent 2023-08-28 12:03:10 +03:00
Elbaz
5c74d466ce update to use const opentf 2023-08-28 11:35:51 +03:00
Elbaz
d1b585bab6 remove redundent stringf 2023-08-27 17:40:55 +03:00
Elbaz
de001ef784 rename func application 2023-08-27 17:39:27 +03:00
Elbaz
9362df1d9e rename func 2023-08-27 17:38:54 +03:00