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.
- 21 Jan, 2020 1 commit
-
-
Paul Tyng authored
-
- 17 Jan, 2020 3 commits
-
-
Paddy Carver authored
-
Paul Tyng authored
-
Paul Tyng authored
-
- 12 Nov, 2019 1 commit
-
-
Paddy authored
Not sure why this got included.
-
- 01 Nov, 2019 17 commits
-
-
Paddy Carver authored
Fix some panics because I didn't run _all_ the tess, like a dolt.
-
Paddy Carver authored
Introduced some import errors while rebasing. Now they're fixed.
-
Paddy Carver authored
-
Paddy Carver authored
-
Paddy Carver authored
-
Paddy Carver authored
Make sure that ProviderMeta gets sent to providers for RPC calls for data sources.
-
Paddy Carver authored
Test to make sure that destroy ApplyResourceChange requests get the ProviderMeta field set during RPC.
-
Paddy Carver authored
Make sure to pass ProviderMeta when doing refresh RPC calls.
-
Paddy Carver authored
Set the ProviderMeta value when planning resource changes, and add a test to ensure that it's getting set properly.
-
Paddy Carver authored
We want ProviderMeta information to be available to the provider during all the RPC calls, so extend the protocol to account for that, and fill out all the needed methods.
-
Paddy Carver authored
Figure out how to test provider_meta, and write our first test, a basic check that the value will be delivered as part of the ApplyResourceChange request when set. Still a lot of test cases that need testing.
-
Paddy Carver authored
We weren't passing provider meta information on destroy, now we attach it to nodes for resource destruction, which should let it get sent along as necessary.
-
Paddy Carver authored
-
Paddy Carver authored
Actually initialize the ProviderMetas map for the Module when calling configs.NewModules so we don't panic. Check the NodeValidatableResource implements GraphNodeAttachProviderMetaConfigs. When calling terraform.loadProviderSchemas, actually set the ProviderMeta block. Add ProviderMeta to state. For some reason? I don't know why. Fix the ProviderTransformer to use the ProviderConfig.Type instead of String() output for the provider when looking up the ProviderMeta to use.
-
Paddy Carver authored
Now if a provider doesn't support provider_meta and somehow we miss that at validation time, the user will get an error with more details and pointing to the specific provider_meta declaration that is a problem.
-
Paddy Carver authored
Add the ProviderMeta field to the EvalValidateResource type so we can check that the HCL for the resource's provider's provider_meta block is valid. Add a code note about why we're doing this in the resource block instead of somewhere that makes more sense.
-
Paddy Carver authored
A pass at implementing module attribution ("provider_meta blocks in the terraform block", whatever, it's for module attribution). The general idea is that we're adding a new ProviderMeta struct to our configs package, which is then added to Files, Modules, and parsed as part of the terraform block. The configs.Config type then makes that available to the terraform.ProviderTransformer type, which is already scoped by module. It picks out the ProviderMeta for the provider we need in its Transform method, and checks to see if the node it's working on implements the terraform.GraphNodeAttachProviderMetaConfigs interface, which is a new interface we're adding. It has only one method: AttachProviderMetaConfigs, which is passed a *configs.ProviderMeta. We implement this on the terraform.NodeAbstractResource type, storing the passed *configs.ProviderMeta in a new property on that struct. That struct is eventually made available to the terraform.NodeApplyableResource...
-
- 31 Oct, 2019 6 commits
-
-
tf-release-bot authored
-
tf-release-bot authored
-
Pam Selle authored
Update taint docs - for_each
-
Martin Atkins authored
-
Martin Atkins authored
For remote operations, the remote system (Terraform Cloud or Enterprise) writes the stored variable values into a .tfvars file before running the remote copy of Terraform CLI. By contrast, for operations that only run locally (like "terraform import"), we fetch the stored variable values from the remote API and add them into the set of available variables directly as part of creating the local execution context. Previously in the local-only case we were assuming that all stored variables are strings, which isn't true: the Terraform Cloud/Enterprise UI allows users to specify that a particular variable is given as an HCL expression, in which case the correct behavior is to parse and evaluate the expression to obtain the final value. This also addresses a related issue whereby previously we were forcing all sensitive values to be represented as a special string "<sensitive>". That leads to type checking errors for any variable specified as h...
-
Martin Atkins authored
Previously any error case in the Context method would cause us to leave the remote workspace locked on exit, requiring manual action to unlock it.
-
- 30 Oct, 2019 3 commits
-
-
Chris Griggs authored
[Website] CherryServer doc links
-
cgriggs01 authored
-
James Bardin authored
-
- 29 Oct, 2019 4 commits
-
-
James Bardin authored
Resource value may be an object in self evaluation
-
James Bardin authored
The fallback type for GetResource from an EachMap is a cty.Object, because resource schemas may contain dynamically typed attributes. Check for an Object type in the evaluation of self, to use the proper GetAttr method when extracting the value.
-
James Bardin authored
-
Martin Atkins authored
These are often confusing for new contributors, since this looks suspiciously like the right place to add new functions or change the behavior of existing ones. To reduce that confusion, here we remove them entirely from this package (which is now dead code in Terraform 0.12 anyway) and include in the documentation comments a pointer to the current function implementations.
-
- 28 Oct, 2019 5 commits
-
-
Martin Atkins authored
Previously we were inconsistent in whether we were recommending the new required_providers block or the "version" setting inside a "provider" block.
-
Martin Atkins authored
-
Thomas Alton authored
-
Thomas Alton authored
-
Colby Rome authored
-