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.
- 11 Nov, 2021 3 commits
-
-
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.
-
- 01 Nov, 2021 30 commits
-
-
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
-
Martin Atkins authored
Co-authored-by:
Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
-
Martin Atkins authored
This is documentation for the first set of refactoring-related features, all based on the new "moved" blocks in the Terraform language. I've named the documentation section "refactoring" because in previous discussions with users that seems to be the term they use to describe the underlying need. "moved" blocks are our first language feature intended to meet that need, although it probably won't be the last as we consider other requirements in later releases. My intent here is that once we've published this it should eventually end up being the first result for a web search for the topic of Terraform refactoring.
-
Martin Atkins authored
Based on feedback during earlier alpha releases, we've decided to move forward with the current design for the first phase of config-driven refactoring. Therefore here we've marked the experiment as concluded with no changes to the most recent incarnation of the functionality. The other changes here are all just updating test fixtures to no longer declare that they are using experimental features.
-
Alisdair McDiarmid authored
cloud: Fix prerelease version constraint checks
-
Alisdair McDiarmid authored
-
xiaozhu36 authored
-
Chris Arcand authored
command: Adjust skipping of resource counts for any remote implementation
-
James Bardin authored
Flatten `assume_role` block for OSS backend
-
James Bardin authored
-
James Bardin authored
-
- 30 Oct, 2021 1 commit
-
-
Chris Arcand authored
When using the Terraform Cloud integration - like the 'remote' backend - resource count output should be suppressed if those counts are being rendered remotely. This generalizes this to the shared BackendWithRemoteTerraformVersion interface.
-
- 29 Oct, 2021 6 commits
-
-
James Bardin authored
-
hc-github-team-tf-core authored
-
hc-github-team-tf-core authored
-
James Bardin authored
remove Crash section of issue template
-
James Bardin authored
Terraform is no longer going to silently capture all logs for a possible crash report, and therefor won't create a crash.log file when a panic is encountered. The prompt to create a log file with TF_LOG from the Debug Output section should suffice to get users to submit the logs when possible. In the case of a crash specifically, the crash output also requests that the stack trace be added to the issue for users who may not be aware of what is necessary.
-
James Bardin authored
Remove the use of panicwrap in the Terraform CLI
-