Commit Graph

234 Commits

Author SHA1 Message Date
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
Elbaz
2cdedaf734 added combined tests 2023-08-27 15:32:14 +03:00
RLRabinowitz
cf1640bc10 Change terraform doc website links to be a placeholder for now 2023-08-27 15:11:45 +03:00
Elbaz
092d34b055 sort imports 2023-08-27 14:49:32 +03:00
Elbaz
23d5d4daff move import 2023-08-27 14:45:49 +03:00
Elbaz
9cb0e43e9d fix references 2023-08-27 14:07:37 +03:00
Elbaz
6bca34e28d rollback 2023-08-27 13:55:39 +03:00
Elbaz
7723d93946 export more commons 2023-08-27 13:55:04 +03:00
Elbaz
7078034160 update backend to use common user agent 2023-08-27 13:48:30 +03:00
Elbaz
6c86f6ba51 update 2023-08-27 13:46:13 +03:00
Elbaz
57b05912e1 test 2023-08-27 13:43:29 +03:00
Elbaz
7563a92e1e remove deprecated function 2023-08-27 12:21:47 +03:00
Elbaz
77c668de0c export to useragent 2023-08-27 12:17:01 +03:00
Elbaz
32156899de rollback some chagnes 2023-08-27 12:03:53 +03:00
Elbaz
116af60275 rename user agent 2023-08-27 11:58:02 +03:00
Marcin Wyszynski
68e0b50085 Remove user-facing mentions of Hashi TFE/TFC (#154) 2023-08-23 18:04:21 +02:00
Elbaz
6e17054f15 enterprise 🌈 2023-08-22 14:48:33 +03:00
Elbaz
b3080211d0 rollback protocol namings 2023-08-22 14:20:40 +03:00
Elbaz
ecea3e2591 missed that 2023-08-22 14:15:25 +03:00
Elbaz
080385c86a tf cloud comment 2023-08-22 14:15:14 +03:00
Elbaz
d80141255c last fixes 2023-08-22 12:49:16 +03:00
Elbaz
2bae75c3f9 rollback 2023-08-22 11:15:00 +03:00
Elbaz
841025ba26 renames 2023-08-22 11:12:20 +03:00
Elbaz
141e72246d fix tests + english 2023-08-21 19:33:20 +03:00
Elbaz
c10a300b58 s3 2023-08-21 18:24:40 +03:00
Elbaz
15ae0bc167 oss 2023-08-21 18:23:08 +03:00
Elbaz
e6d0a90db5 k8s 2023-08-21 18:22:37 +03:00
Elbaz
44da5b5e3a more 2023-08-21 18:21:16 +03:00
Elbaz
a8d998fd9e remote folder 2023-08-21 18:19:35 +03:00
Elbaz
da73538433 local folder 2023-08-21 16:32:46 +03:00
Elbaz
a017e8f57d init folder 2023-08-21 16:21:27 +03:00
Elbaz
5626ac6926 backend folder 2023-08-21 16:19:40 +03:00
Kuba Martin
ebcf7455eb Rename root module name. (#4)
* Rename module name from "github.com/hashicorp/terraform" to "github.com/placeholderplaceholderplaceholder/opentf".

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Gofmt.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Regenerate protobuf.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Fix comments.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Undo issue and pull request link changes.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Undo comment changes.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Fix comment.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* Undo some link changes.

Signed-off-by: Jakub Martin <kubam@spacelift.io>

* make generate && make protobuf

Signed-off-by: Jakub Martin <kubam@spacelift.io>

---------

Signed-off-by: Jakub Martin <kubam@spacelift.io>
2023-08-17 14:45:11 +02:00
Graham Davison
84edaaed57 Merge pull request #33571 from hashicorp/s3/add-legacy-acceptance-tests
S3 Backend: Add legacy authentication flow tests
2023-07-31 13:27:02 -07:00
Sebastian Rivera
dceb8453af Merge pull request #33492 from hashicorp/cli-team/saved-cloud-plans
Implement saved cloud plans
2023-07-25 10:29:19 -04:00
Sebastian Rivera
08e58fd484 Fix saved plan test regressions, fixtures 2023-07-25 10:22:46 -04:00
Graham Davison
5588603822 Merge pull request #33534 from hashicorp/s3/update-configschema
S3 Backend: Converts from `legacy/helper/schema` to `configschema`
2023-07-24 17:46:09 -07:00
Graham Davison
8564a5bf0e Fixes type of parameter skip_credentials_validation 2023-07-24 17:36:51 -07:00
Graham Davison
47fc769da9 Adds tests for region 2023-07-24 17:20:16 -07:00
Graham Davison
f3ce646756 Adds authentication tests 2023-07-24 16:23:52 -07:00
Sebastian Rivera
31cf55fe12 Reword error message when using local exec 2023-07-24 14:12:44 -04:00
Nick Fagerlund
f9d937a4dd Apply a confirmable run when given a saved cloud plan (#33270)
It displays a run header with link to web UI, like starting a new plan does, then confirms the run
and streams the apply logs. If you can't apply the run (it's from a different workspace, is in an
unconfirmable state, etc. etc.), it displays an error instead.

Notable points along the way:

* Implement `WrappedPlanFile` sum type, and update planfile consumers to use it instead of a plain `planfile.Reader`.

* Enable applying a saved cloud plan

* Update TFC mocks — add org name to workspace, and minimal support for includes on MockRuns.ReadWithOptions.
2023-07-24 14:12:40 -04:00
Brandon Croft
c1a730314d Relocate localterraform.com aliasing to backend configurators
Previously, remote and cloud backends would automatically alias localterraform.com as the configured hostname during configuration. This turned out to be an issue with how backends could potentially be used within the builtin terraform_remote_state data source. Those data sources each configure the same service discovery with different targets for localterraform.com, and do so simultaneously, creating an occasional concurrent map read & write panic when multiple data sources are defined.

localterraform.com is obviously not useful for every backend configuration. Therefore, I relocated the alias configuration to the callers, so they may specify when to use it. The modified design adds a new method to backend.Enhanced to allow configurators to ask which aliases should be defined.
2023-07-21 09:55:41 -06:00