hashicorp / terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
https://www.terraform.io
Other
42.76k stars 9.56k forks source link

Make updatedeps and make dev is broken due to upstream cloudstack changes in master #789

Closed knuckolls closed 9 years ago

knuckolls commented 9 years ago

Tracked it down to this commit on xanzy/go-cloudstack. Looks like the builtin cloudstack provider hasn't been updated to take into account that commit.

https://github.com/xanzy/go-cloudstack/commit/bb608c839655e498170de29141c5e528be5edf56

@svanharmelen i see that you're actively working on this and I didn't want to step on your toes. Do you have a quick fix to get updatedeps and dev working? Is there a simple way for me to sidestep the cloudstack portion of terraform when i run make?

zenith ~/Code/src/github.com/hashicorp/terraform (master) $ make updatedeps
go get -u golang.org/x/tools/cmd/stringer
# Go 1.4 changed the format of `go get` a bit by requiring the
# canonical full path. We work around this and just force.
github.com/hashicorp/terraform (download)
github.com/hashicorp/consul (download)
github.com/hashicorp/go-checkpoint (download)
github.com/hashicorp/go-multierror (download)
github.com/hashicorp/hcl (download)
github.com/mitchellh/copystructure (download)
github.com/mitchellh/reflectwalk (download)
github.com/mitchellh/mapstructure (download)
github.com/mitchellh/cli (download)
github.com/mitchellh/colorstring (download)
github.com/mitchellh/go-homedir (download)
github.com/hashicorp/yamux (download)
github.com/mitchellh/osext (download)
github.com/mitchellh/panicwrap (download)
github.com/mitchellh/prefixedio (download)
github.com/hashicorp/atlas-go (download)
github.com/mitchellh/goamz (download)
github.com/vaughan0/go-ini (download)
github.com/pearkes/cloudflare (download)
github.com/xanzy/go-cloudstack (download)
github.com/pearkes/digitalocean (download)
github.com/pearkes/dnsimple (download)
code.google.com/p/goauth2 (download)
code.google.com/p/google-api-go-client (download)
code.google.com/p/go-uuid (download)
github.com/cyberdelia/heroku-go (download)
github.com/pearkes/mailgun (download)
code.google.com/p/go.crypto (download)
github.com/armon/circbuf (download)
github.com/mitchellh/go-linereader (download)
github.com/hashicorp/terraform/builtin/providers/cloudstack
# github.com/hashicorp/terraform/builtin/providers/cloudstack
builtin/providers/cloudstack/resource_cloudstack_disk.go:186: not enough arguments in call to cs.Volume.NewResizeVolumeParams
builtin/providers/cloudstack/resource_cloudstack_vpc.go:127: too many arguments in call to cs.VPC.NewUpdateVPCParams
make: *** [updatedeps] Error 2
zenith ~/Code/src/github.com/hashicorp/terraform (master) $ make dev
go generate ./...
==> Getting dependencies...
# github.com/hashicorp/terraform/builtin/providers/cloudstack
builtin/providers/cloudstack/resource_cloudstack_disk.go:186: not enough arguments in call to cs.Volume.NewResizeVolumeParams
builtin/providers/cloudstack/resource_cloudstack_vpc.go:127: too many arguments in call to cs.VPC.NewUpdateVPCParams
make: *** [dev] Error 2
zenith ~/Code/src/github.com/hashicorp/terraform (master) $
mitchellh commented 9 years ago

Dup of #788

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.