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.
- 16 Nov, 2021 3 commits
-
-
Barrett Clark authored
Given: You have multiple explicit local workspaces, and the `default` workspace is empty. When: You migrate the workspaces to Terraform Cloud. Then: Terraform should _not_ ask for a workspace to migrate the `default` workspace to in Terraform Cloud.
-
James Bardin authored
funcs: defer close file in filesha256
-
Simão Gomes Viana authored
Files opened by these two functions were not being closed, leaking file descriptors. Close files that were opened when the function exist.
-
- 15 Nov, 2021 5 commits
-
-
Barrett Clark authored
Cloud: Make e2e Tests Less Chatty, and More Stable
-
Laura Pacilio authored
Add cidr block output example to setproduct function page
-
Laura Pacilio authored
-
Omar Ismail authored
-
Chris Arcand authored
Some small edits to the TFC migration copy.
-
- 12 Nov, 2021 1 commit
-
-
James Bardin authored
`ignore_changes` converting null maps to empty maps, and applying marks.
-
- 11 Nov, 2021 12 commits
-
-
Omar Ismail authored
-
Barrett Clark authored
- Fix tests and remove commented code - Remove parallel for some flaky tests - Add README
-
Brandon Croft authored
fix(run variables): support all variable types (map, list, bool, number, null, string)
-
Brandon Croft authored
All run variables remain encoded as strings in the API but will now be expressed as an HCL value to be evaluated correctly by the remote terraform. Previously, only strings were supported. Examples: string: `"quoted literal"` (strings must be quoted) map: `{ foo = "bar" }` list: `["foo", "bar"]` bool: `true` null: `null` number: `0.0001` This requires the API to anticipate that all run variables will be HCL values
-
Brandon Croft authored
Pull changes made to mocks in go-tfe
-
Brandon Croft authored
-
James Bardin authored
Add a test to ensure ignore_changes does not change null maps to empty maps. Fix when a marked map revers the changes ignored within that map.
-
James Bardin authored
Fix an error where using `ignore_changes` would cause some null maps to be saved as an empty map.
-
kmoe authored
command: make module installation interruptible
-
Katy Moe authored
Error diags from c.installModules() no longer cause getModules() to exit early. Whether installModules completed successfully, errored, or was cancelled, we try to update the manifest as best we can, preferring incomplete information to none.
-
Katy Moe authored
-
kmoe authored
Earlier work to make "terraform init" interruptible made the getproviders package context-aware in order to allow provider installation to be cancelled. Here we make a similar change for module installation, which is now also cancellable with SIGINT. This involves plumbing context through initwd and getmodules. Functions which can make network requests now include a context parameter whose cancellation cancels those requests. Since the module installation code is shared, "terraform get" is now also interruptible during module installation.
-
- 10 Nov, 2021 1 commit
-
-
Krista LaFentres (she/her) authored
Command state mv: Error when backup or backup-out options are used without the state option on non-local backends
-
- 09 Nov, 2021 3 commits
-
-
Krista LaFentres authored
-
Krista LaFentres authored
Error if backup or backup-out options are used without the state option on non-local backends for the state mv command
-
Chris Arcand authored
-
- 08 Nov, 2021 3 commits
-
-
uturunku1 authored
-
uturunku1 authored
-
Luces Huayhuaca authored
* convert uses of worspaces.operations into workspaces.executionMode The cloud package currently uses a deprecated API on workspaces to determine a workspace's execution mode. Deprecated: Operations (boolean) New hotness: Execution mode (string - "local", "remote", or "agent") More details: https://www.terraform.io/docs/cloud/api/workspaces.html#request-body All uses of Operations field coming from the client (within the cloud package) should be converted to the appropriate ExecutionMode equivalent. Also, we need to update all acknowledgment of operations field on the tests that are testing the behavior of workspaces. Co-authored-by:
Nick Fagerlund <nick.fagerlund@gmail.com> Co-authored-by:
Nick Fagerlund <nick.fagerlund@gmail.com>
-
- 05 Nov, 2021 3 commits
-
-
Martin Atkins authored
We have a few dependencies that are such a significant part of Terraform's behavior that they will often be the root cause of or the solution to a bug reported against Terraform. As a small quality-of-life improvement to help with diagnosing those, we'll now report the selected versions for each of these so-called "interesting" dependencies as part of our initial trace log output during Terraform startup. The goal here is that when someone opens a bug report, and includes the trace log as our bug report template requests, we'll be able to see at a glance which versions of these dependencies were involved, instead of having to manually cross-reference in the go.mod file of the reported main Terraform CLI version. This does slightly grow the general overhead of the logs, but as long as we keep this set of interesting dependencies relatively small it shouldn't present any significant problem in typical usage.
-
Laura Pacilio authored
Fix typo in 0.13 upgrade guide
-
Laura Pacilio authored
-
- 04 Nov, 2021 1 commit
-
-
AJ Jordan authored
-
- 03 Nov, 2021 8 commits
-
-
Chris Arcand authored
cloud: Add streamlined 'remote' backend state migration path
-
Chris Arcand authored
For Terraform Cloud users using the 'remote' backend, the existing 'pattern' prompt should work just fine - but because their workspaces are already present in TFC, the 'migration' here is really just realigning their local workspaces with Terraform Cloud. Instead of forcing users to do the mental gymnastics of what it means to migrate from 'prefix' - and because their remote workspaces probably already exist and already conform to Terraform Cloud's naming concerns - streamline the process for them and calculate the necessary pattern to migrate as-is, without any user intervention necessary.
-
Chris Arcand authored
cloud: Autoselect migrated current workspace + migrate UX adjustments
-
Chris Arcand authored
-
Chris Arcand authored
After migrating to TFC with renamed workspaces, automatically select what was the previous current workspace on behalf of the user. We don't need to make the user reselect.
-
Chris Arcand authored
Note these change do break the internal/cloud/e2e tests; they are in a sad state that needs adjusting anyway, so I'm not updating them for these changes at this time.
-
James Bardin authored
backend/oss: Removes the ConflictWith tag which on the attributes assume_role* to fix the incompatible error
-
James Bardin authored
generate precise resource types during validate
-