terraform/vendor/github.com/hashicorp
Martin Atkins 02576988c1 lang: "try" and "can" functions
These are intended to make it easier to work with arbitrary data
structures whose shape might not be known statically, such as the result
of jsondecode(...) or yamldecode(...) of data from a separate system.

For example, in an object value which has attributes that may or may not
be set we can concisely provide a fallback value to use when the attribute
isn't set:

    try(local.example.foo, "fallback-foo")

Using a "try to evaluate" model rather than explicit testing fits better
with the usual programming model of the Terraform language where values
are normally automatically converted to the necessary type where possible:
the given expression is subject to all of the same normal type conversions,
which avoids inadvertently creating a more restrictive evaluation model
as might happen if this were handled using checks like a hypothetical
isobject(...) function, etc.
2020-01-10 15:23:25 -08:00
..
aws-sdk-go-base deps: github.com/hashicorp/aws-sdk-go-base@v0.4.0 (#22994) 2019-10-11 12:50:12 -04:00
consul update consul api packages 2017-10-28 19:44:10 -04:00
errwrap vendor: Update HCL2 and cty, and other related packages 2018-10-16 19:14:11 -07:00
go-azure-helpers vendor: upgrade Azure SDK and Azure/go-autorest 2019-12-02 10:04:49 -08:00
go-checkpoint vendor: github.com/hashicorp/go-checkpoint@v0.5.0 2019-02-21 08:50:02 +00:00
go-cleanhttp go mod tidy & go mod vendor 2019-10-11 22:41:27 +01:00
go-getter update go-getter 2020-01-06 20:44:02 -05:00
go-hclog update go-plugin and hclog 2018-10-16 19:14:11 -07:00
go-multierror vendor: Update HCL2 and cty, and other related packages 2018-10-16 19:14:11 -07:00
go-plugin update go-plugin package 2019-06-10 15:43:36 -04:00
go-retryablehttp gomod: update `go-tfe` 2019-04-08 11:13:14 +02:00
go-rootcerts vendor: github.com/hashicorp/go-rootcerts@v1.0.0 2019-02-21 08:54:14 +00:00
go-safetemp vendor: github.com/terraform-providers/terraform-provider-aws@v1.58.0 2019-02-12 16:32:22 +00:00
go-slug Point to updated go-tfe 2019-11-15 14:14:17 -05:00
go-tfe Point to updated go-tfe 2019-11-15 14:14:17 -05:00
go-uuid gomod: update `go-tfe` 2019-04-08 11:13:14 +02:00
go-version go mod vendor; go mod tidy 2019-10-17 11:14:30 -04:00
golang-lru modules: update Azure deps to latest 2019-07-30 09:12:14 -07:00
hcl lang: "try" and "can" functions 2020-01-10 15:23:25 -08:00
hil vendor: github.com/hashicorp/hil@latest 2019-02-12 15:56:22 +00:00
serf vendor: update to latest github.com/zclconf/go-cty 2018-10-16 19:14:11 -07:00
terraform-config-inspect Mildwonkey/tfconfig upgrade (#23670) 2020-01-10 11:54:53 -05:00
terraform-svchost go mod tidy & go mod vendor 2019-10-11 22:41:27 +01:00
vault vendor: github.com/terraform-providers/terraform-provider-aws@v1.58.0 2019-02-12 16:32:22 +00:00
yamux update vendor from go.mod 2018-12-05 20:30:16 -05:00