terraform/vendor
Martin Atkins 373f94fe89 vendor: go get github.com/zclconf/go-cty/cty@master
This includes a fix to prevent unintentional infinite recursion when
trying to unify multiple object types to a single type for conversion to
list(any).

Sadly I wasn't able to reproduce the problem as reported (in #20728), so
therefore I wasn't able to write a Terraform test for it, but I have
confirmed that the cty behavior here was incorrect anyway (recursively
calling the same function we're already in with the same arguments is
clearly not productive) and so this change will allow whatever situation
that was to terminate with a type conversion error, rather than causing a
stack overflow.

It's likely that there is another bug lurking under this, since the
problematic code here was supposed to be unreachable, but avoiding the
crash is the priority for now. If the problem re-surfaces then it should
at least be an error message with some additional context about what the
goal of the caller was.

This also includes an unrelated fix for the gocty package, which doesn't
affect Terraform because it makes very little use of that package.
2019-03-20 16:34:05 -07:00
..
cloud.google.com/go vendor: cloud.google.com/go@v0.36.0 2019-02-20 18:57:56 +00:00
github.com vendor: go get github.com/zclconf/go-cty/cty@master 2019-03-20 16:34:05 -07:00
go.opencensus.io vendor: cloud.google.com/go@v0.36.0 2019-02-20 18:57:56 +00:00
golang.org/x vendor: golang.org/x/net@d8887717615a 2019-03-12 09:51:39 +00:00
google.golang.org vendor: golang.org/x/oauth2@latest 2019-02-20 18:59:25 +00:00
gopkg.in/yaml.v2 backend/s3: Switch from github.com/terraform-providers/terraform-provider-aws to github.com/hashicorp/aws-sdk-go-base 2019-02-18 02:30:30 -05:00
modules.txt vendor: go get github.com/zclconf/go-cty/cty@master 2019-03-20 16:34:05 -07:00