This project is mirrored from https://:*****@github.com/hashicorp/terraform.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
- 03 Nov, 2021 9 commits
-
-
Chris Arcand authored
-
Chris Arcand authored
-
Chris Arcand authored
-
James Bardin authored
Backport of backend/oss: Removes the ConflictWith tag which on the attributes assume_role* to fix the incompatible error into v1.1
-
James Bardin authored
-
James Bardin authored
Merge pull request #29873 from hashicorp/backport/jbardin/validate-resource-values/closely-caring-vulture Backport of generate precise resource types during validate into v1.1
-
James Bardin authored
Backport of update go-cty to v1.10.0 into v1.1
-
xiaozhu36 authored
-
Chris Arcand authored
Backport of Cloud: Update Workspace during Tags strategy into v1.1
-
- 02 Nov, 2021 10 commits
-
-
James Bardin authored
-
Omar Ismail authored
-
Chris Arcand authored
-
Chris Arcand authored
command: Update backend hash value only after a successful migration
-
Chris Arcand authored
The Meta.backend_C_r_S_unchanged() method was sadly a bit of a mess. It seems to have originally been used as a method to be called when the backend is not changing, with an extra assumption that if the configured backend's hash doesn't match the one in state, surely the hash should just be updated as an option might have been moved to command line flags. However, this function was used throughout this file as 'the method to load the initialized (but not necessarily configured) backend', regardless of whether or not it is the same (unchanged). This is in addition to Meta.backendFromState(), which is used to load the same thing except in the main codepath of 'init -backend=false'. These changes separate the concerns of backend_C_r_S_unchanged() by 1) Fetching the saved backend (savedBackend()) 2) Updating the hash value in the backend cache when appropriate (either by leaving it to the caller to do themselves or by calling updateSavedupdateSavedBackendHash()) This allows migration codepaths to *not* update the hash value until after a migration has successfully taken place.
-
James Bardin authored
-
James Bardin authored
-
Alisdair McDiarmid authored
-
Łukasz Sierant authored
Pulled and updated from https://github.com/hashicorp/terraform/pull/26260
-
Billy Keyes authored
* command/format: fix list nested attr diff rendering Previously, diffs only rendered correctly if all changed elements appeared before all unchanged elements. Once an unchanged element was found, all remaining elements were skipped. This usually led to the output being an empty list with a weird amount of space between the brackets. * command/format: improve list nested attr rendering This makes several changes that make diffs for lists clearer and more consistent: * Separate items with brackets instead of only new lines. This better matches the input syntax and avoids confusion from the first and last brackets implying there is a single item. * Render an action symbol for each element of the list * Use the correct action symbol for new and deleted items * Fix the alignment of opening and closing brackets I also refactored the structure so it is similar to the set and map cases to minimize duplication of the new prints. * Fix re-use of blockBodyDiffResult struct
-
- 01 Nov, 2021 21 commits
-
-
kmoe authored
-
kmoe authored
configs: fix ignore_changes config override bug
-
James Bardin authored
-
Barrett Clark authored
cloud: Allow cloud tests to be run in parallel
-
James Bardin authored
backend/oss: Supports the new attribute sts_endpoint
-
James Bardin authored
nullable variable docs
-
James Bardin authored
Co-authored-by:
Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
-
James Bardin authored
Co-authored-by:
Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
-
James Bardin authored
Co-authored-by:
Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
-
James Bardin authored
Co-authored-by:
Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
-
Katy Moe authored
-
Katy Moe authored
-
Katy Moe authored
-
Barrett Clark authored
Add the `-parallel N` switch to tell the tests to run in N processes: ``` TFE_TOKEN=$TFE_TOKEN TFE_HOSTNAME=$TFE_HOSTNAME TF_ACC=1 go test -v \ -tags=e2e ./internal/cloud/e2e/... -parallel 4 ```
-
James Bardin authored
-
James Bardin authored
Add `nullable` to the variable documentation. Remove "module" from the "null means omission" part of the null type documentation.
-
Nick Fagerlund authored
Previously, `terraform init` was throwing an error if you configured the cloud block with `tags` and there weren't any tagged workspaces yet. Confusing and alienating, since that that's a fairly normal situation! Basically TFC was handling an empty list of workspaces worse than other backends, because it doesn't support an unnamed default workspace. This commit catches that condition during `Meta.selectBackend()` and asks the user to pick a name for their first tagged workspace. If they cancel out, we still error, but if we know what name they want, we can handle it the same way as a nonexistent workspace specified in `name` -- just pass it to `Meta.SetWorkspace()`, and let the workspace get implicitly created when `InitCommand.Run()` eventually calls `StateMgr()`.
-
James Bardin authored
-
James Bardin authored
configs: explicitly nullable variable values
-
James Bardin authored
-
Martin Atkins authored
-