Commit Graph

1926 Commits

Author SHA1 Message Date
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
Kuba Martin
a6ebabfea6
Improve logging of global provider schema cache hits. (#766)
Signed-off-by: Jakub Martin <kubam@spacelift.io>
2023-10-23 15:09:31 +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
03c8f6cebd
Fix: Global provider schema cache is never used (#719)
Signed-off-by: RLRabinowitz <rlrabinowitz2@gmail.com>
2023-10-16 13:21:33 +03:00
RLRabinowitz
26fb627af9
Remove all Terraform mentions in STDOUTs in the codebase (#704) 2023-10-12 14:24:04 +01:00
RLRabinowitz
1b9148a3de
Remove Terraform mentions in docs in the codebase (#713) 2023-10-12 12:11:01 +01:00
RLRabinowitz
8967cdcee7
Remove all Terraform Cloud mentions in STDOUTs in the codebase (#703) 2023-10-12 12:07:16 +01:00
Elbaz
00165570e2
Consider missing x-terraform-snapshot-interval for State Snapshot (#696) 2023-10-12 12:02:45 +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
James Humphries
f181457196
Add sensitivity check for import configuration block IDs and comprehensive test coverage (#665) 2023-10-05 16:48:27 +01:00
Elbaz
86866bff0c
add e2e test to cover the panic case of unknown conditional with sensitive (#661) 2023-10-05 15:04:51 +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
Mikhail Sliusarev
60a9db0a43
Alter the help message for test command to print the expected behaviour (#622) 2023-10-03 11:17:26 +03: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
Lars Lehtonen
6cd1c00e1d
internal/command: demote modulePath() export (#617)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-09-29 11:23:50 +02:00
James Humphries
92abeb27eb
Correct comment in init_test.go that incorrectly described a test (#615)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2023-09-28 14:11:06 +02:00
Lars Lehtonen
e1cab37503
More Wrapped Tests (#612)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-09-28 10:18:08 +02:00
Lars Lehtonen
2517ffa11d
Prune Unused String Functions (#611)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-09-28 01:51:40 +02:00
Elbaz
8465827f03
go build / go install should generate tofu binary (#590) 2023-09-27 15:37:55 +03:00
Lars Lehtonen
23ad929d2f
internal/command: wrap formatted test errors (#596) 2023-09-27 11:19:16 +03:00
Lars Lehtonen
69f3c97db7
internal/states/statefile: TestReadErrNoState() (#440) 2023-09-26 21:45:17 +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
Ikko Eltociear Ashimine
c15ae78b30
Fix typo in dynamic_value.go (#541) 2023-09-26 14:40:33 +03:00
Lars Lehtonen
7b799c9305
internal/configs/configload: prune copyDir() (#581) 2023-09-26 14:39:56 +03:00
Lars Lehtonen
656ab5a8be
internal/command: remove unused type pluginSHA256LockFile (#575)
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2023-09-25 17:17:17 +02:00
Elbaz
621bd071a7
rename OpenTofu testing folder (#532) 2023-09-21 18:15:32 +03:00
Lars Lehtonen
a257fc99e9
internal/command: wrap formatted errors (#519) 2023-09-21 15:45:28 +03:00