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.
- 18 May, 2020 1 commit
-
-
James Bardin authored
no need to litter the state file with "create_before_destroy":false
-
- 14 May, 2020 7 commits
-
-
James Bardin authored
-
James Bardin authored
-
James Bardin authored
-
James Bardin authored
The resource apply nodes need to be GraphNodeDestroyerCBD in order to correctly inherit create_before_destroy. While the plan will have recorded this to create the correct deposed nodes, the edges still need to be transformed correctly. We also need create_before_destroy to be saved to state for nodes that inherited it, so that if they are removed from state the destroy will happen in the correct order.
-
James Bardin authored
We need to run the force CBD transformer during apply too, both to ensure we can rely on the `CreateBeforeDestroy()` status for dependants during apply, but also to ensure that the correct status is stored into state.
-
James Bardin authored
The depends_on fields was deprecated during 0.12, and is no longer used. Add a roundtrip test for the create_before_destroy status.
-
James Bardin authored
-
- 13 May, 2020 10 commits
-
-
charlotte.mach authored
-
Kristin Laemmert authored
* internal/getproviders: fix panic with invalid path parts If the search path is missing a directory, the provider installer would try to create an addrs.Provider with the wrong parts. For example if the hostname was missing (as in the test case), it would call addrs.NewProvider with (namespace, typename, version). This adds a validation step for each part before calling addrs.NewProvider to avoid the panic.
-
Petros Kolyvas authored
website/docs: provider aliases in the JSON format
-
Alisdair McDiarmid authored
internal/getproviders: Add configurable HTTP retry & timeout support
-
Jean Dupouy authored
Fixes #24889
-
Alisdair McDiarmid authored
-
Alisdair McDiarmid authored
This is a port of the retry/timeout logic added in #24260 and #24259, using the same environment variables to configure the retry and timeout settings.
-
Alisdair McDiarmid authored
Security: Upgrade version of golang.org/x/crypto to latest
-
Rafal Potempa authored
-
Rafal Potempa authored
-
- 12 May, 2020 8 commits
-
-
James Bardin authored
-
James Bardin authored
Chef: Gracefully Handle RFC062 Exit Codes
-
James Bardin authored
Rename expanders
-
James Bardin authored
Match the new names output by the expander nodes
-
James Bardin authored
NodePlannableOutput is now the expander node, and is used in contexts other than planning. Change the name to nodeExpandOutput
-
James Bardin authored
NodePLannableLocal is now the expander node, and is is also used in contexts other than plan. Change the name to nodeExpandLocal.
-
James Bardin authored
That name tag was left in only to reduce the diff when during implementation. Fix the naming now for these nodes so it is correct, and prevent any possible name collision between types.
-
Kristin Laemmert authored
Previously the diagnostics from the config loaders (earlyconfig and regular) were only appended to the overall diags if an error was found. This adds all diagnostics from the regular config loader so that any generated warnings will be displayed, even if there are no errors. I did not add the `earlyconfig` warnings since they will be displayed if there is an error and are likely to be duplicated by the config loader.
-
- 11 May, 2020 6 commits
-
-
Alisdair McDiarmid authored
website: Add docs for 0.13upgrade
-
Alisdair McDiarmid authored
-
Kristin Laemmert authored
* internal/registry source: return error if requested provider version protocols are not supported * getproviders: move responsibility for protocol compatibility checks into the registry client The original implementation had the providercache checking the provider metadata for protocol compatibility, but this is only relevant for the registry source so it made more sense to move the logic into getproviders. This also addresses an issue where we were pulling the metadata for every provider version until we found one that was supported. I've extended the registry client to unmarshal the protocols in `ProviderVersions` so we can filter through that list, instead of pulling each version's metadata.
-
Alisdair McDiarmid authored
command: Add prompt & confirmation to 0.13upgrade
-
Alisdair McDiarmid authored
-
Alisdair McDiarmid authored
internal: Fix LookupLegacyProvider
-
- 08 May, 2020 6 commits
-
-
Alisdair McDiarmid authored
When looking up the namespace for a legacy provider source, we need to use the /v1/providers/-/{name}/versions endpoint. For non-HashiCorp providers, the /v1/providers/-/{name} endpoint returns a 404. This commit updates the LegacyProviderDefaultNamespace method and the mock registry servers accordingly.
-
Pam Selle authored
Validate providers in expanding modules. Expanding modules cannot have provider configurations with non-empty configs, which includes having a version configured. If an empty or alias-only block is passed, the provider must be passed through the providers argument on the module call
-
Chris Griggs authored
[Website] Adding community providers
-
Alisdair McDiarmid authored
command: 0.13upgrade command checks and updates required_version
-
Alisdair McDiarmid authored
If a configuration had multiple blocks in the versions.tf file, it would be added to the `rewritePaths` list multiple times. We would then remove it from this slice, but only once, and so the output file would later be rewritten to remove the required providers block. This commit uses a set instead of a list to prevent this case, and adds a regression test.
-
Alisdair McDiarmid authored
-
- 07 May, 2020 2 commits
-
-
Robin Norwood authored
-
Alisdair McDiarmid authored
Instead of using providers.tf as the default output file for the upgrader, we now default to versions.tf. This means that if the configuration has no `required_providers` blocks at all, or has multiple, the provider version requirements will be stored in the versions.tf file. We now also update the versions.tf file to set a `required_version` attribute in the first `terraform` block, with value ">= 0.13". This is similar to the behaviour of the 0.12upgrade command, and signals that the configuration should not be used with older versions of Terraform.
-