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.
- 13 Feb, 2020 4 commits
-
-
Kristin Laemmert authored
a large refactor to addrs.AbsProviderConfig, embedding the addrs.Provider instead of a Type string. I've added and updated tests, added some Legacy functions to support older state formats and shims, and added a normalization step when reading v4 (current) state files (not the added tests under states/statefile/roundtrip which work with both current and legacy-style AbsProviderConfig strings). The remaining 'fixme' and 'todo' comments are mostly going to be addressed in a subsequent PR and involve looking up a given local provider config's FQN. This is fine for now as we are only working with default assumption.
-
Kristin Laemmert authored
* Changelog cleanup for 0.13
-
Pam Selle authored
-
Li Kexian authored
* add TencentCloud COS backend for remote state * add vendor of dependence * fixed error not handle and remove default value for prefix argument * get appid from TF_COS_APPID environment variables
-
- 12 Feb, 2020 7 commits
-
-
Kristin Laemmert authored
-
Kristin Laemmert authored
Now that #22862 has been merged, terraform will properly pick up the resource provider configuration from state. We can remove the deprecated `-provider` flag.
-
Kristin Laemmert authored
There was an order-of-operations bug where the import graph builder was validating that the provider did not have any resource references before references were actually being attached. This PR fixes the order of operations and adds a test (in the command package). Fixes #22804
-
James Bardin authored
make the merge function more precise
-
Kristin Laemmert authored
-
Li Kexian authored
-
Pierre Carles authored
* Throw an error when parallelism <=0 * Panic in case of negative semaphore
-
- 11 Feb, 2020 1 commit
-
-
Kristin Laemmert authored
* configs: added map of ProviderLocalNames to configs.Module We will need to lookup any user-supplied local names for a given FQN. This PR adds a map of ProviderLocalNames to the Module, along with adding tests for this and for decodeRequiredProvidersBlock. This also introduces the appearance of support for a required_provider "source" attribute, but ignores any user-supplied source and instead continues to assume that addrs.NewLegacyProvider is the way to go.
-
- 10 Feb, 2020 3 commits
-
-
Pam Selle authored
Minor spelling fix
-
Riccardo Piccoli authored
-
James Bayer authored
-
- 07 Feb, 2020 1 commit
-
-
Steve Ortiz authored
-
- 06 Feb, 2020 8 commits
-
-
Alisdair McDiarmid authored
command/logout: Add terraform logout command
-
Alisdair McDiarmid authored
The type assertion checks on the credentials source are unnecessary, and the alternative code path they allow would panic.
-
Alisdair McDiarmid authored
-
Alisdair McDiarmid authored
Use terraform logout to remove stored credentials for a remote service host.
-
Kristin Laemmert authored
-
James Goodhouse authored
* add setdifference and setsubtract functions and docs * remove setdifference as it is not implemented correct in underlying lib * Update setintersection.html.md * Update setproduct.html.md * Update setunion.html.md
-
Kristin Laemmert authored
A bug in ConfigTreeDependencies, where a pointer was being updated instead of the map value, meant that only the first provider config version constraing to be processes was being stored. This fixes that bug, so now the returned moduledeps.Providers could have multiple version constraints. The responsibility for resolving provider version selection continues to lie in the command package's ProviderResolver (under plugins.go).
-
Kristin Laemmert authored
configs.Module.ProviderRequirements This is close to a no-op - we aren't accepting the provider source attribute yet, so the only entires in the ProviderRequirements will already be legacy provider addrs. This PR also removes the unused `uid` field from ResourceProvider and ResourceProvisioner. It's unused now and even less likely to be useful now that we have a specific addrs.Provider type.
-
- 05 Feb, 2020 8 commits
-
-
Nick Fagerlund authored
This guide now lives at: - https://learn.hashicorp.com/terraform#getting-started ...and terraform.io has been redirecting to there for quite a while. This commit removes the extra copy so that the text of the two versions doesn't drift, and updates existing links to point to the new location.
-
Nick Fagerlund authored
This document now lives at: - https://learn.hashicorp.com/terraform/development/running-terraform-in-automation ...and terraform.io has been redirecting to there for quite a while. This commit removes the extra copy so that the text of the two versions doesn't drift, and updates existing links to point to the new location.
-
James Bardin authored
-
James Bardin authored
This PR implements 2 changes to the merge function. - Rather than always defining the merge return type as dynamic, return a precise type when all argument types match, or all possible object attributes are known. - Always return a value containing all keys when the keys are known. This allows the use of merge output in for_each, even when keys are yet to be determined.
-
Alisdair McDiarmid authored
Improve remote backend missing token error
-
Alisdair McDiarmid authored
Prompt the user to run terraform login to generate and store a token for the configured remote backend.
-
Alisdair McDiarmid authored
Add token validation for manual terraform login
-
Kristin Laemmert authored
* addrs: add ParseProviderSourceString function to parse fqns from tfconfig-inspect * moduledeps: use addrs.Provider instead of ProviderInstance
-
- 04 Feb, 2020 6 commits
-
-
Alisdair McDiarmid authored
When a token is pasted by the user, we make a request to the TFE API /account/details endpoint to verify its validity. If successful, we display the logged-in username as confirmation. If not, we refuse to store the invalid token and display an error message. This commit also trims whitespace from around the pasted value, to reduce the likelihood of a copy & paste error.
-
Alisdair McDiarmid authored
-
Kristin Laemmert authored
-
Kristin Laemmert authored
The `state show` command was not checking if a given resource had a configured provider, and instead was only using the default provider config. This PR checks for a configured provider, using the default provider if one is not set. Fixes #22010
-
Martin Atkins authored
Co-authored-by:
Alisdair McDiarmid <alisdair@users.noreply.github.com>
-
Alisdair McDiarmid authored
Enable login subcommand, add manual token support
-
- 03 Feb, 2020 2 commits