Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

DO provider isn't working with latest terraform #4683

Closed
leshik opened this issue Oct 28, 2015 · 3 comments
Closed

DO provider isn't working with latest terraform #4683

leshik opened this issue Oct 28, 2015 · 3 comments

Comments

@leshik
Copy link

leshik commented Oct 28, 2015

Hi,

Had trouble to start cluster at DigitalOcean when parsing ssh-keys fingerprint, using latest version of terraform (v0.6.6), the error is:

  • digitalocean_droplet.deis.0: strconv.ParseInt: parsing "3a:4b:bf:d2:4c:92:af:5d:fa:72:07:5a:17:3c:09:3b": invalid syntax
  • digitalocean_droplet.deis.1: strconv.ParseInt: parsing "3a:4b:bf:d2:4c:92:af:5d:fa:72:07:5a:17:3c:09:3b": invalid syntax
  • digitalocean_droplet.deis.2: strconv.ParseInt: parsing "3a:4b:bf:d2:4c:92:af:5d:fa:72:07:5a:17:3c:09:3b": invalid syntax

Works with terraform v0.5.3, though.

@nathansamson
Copy link
Contributor

This used to work for me on 0.6.3

@sgoings
Copy link
Member

sgoings commented Oct 28, 2015

Looks like it broke with https://github.com/hashicorp/terraform/blame/master/builtin/providers/digitalocean/resource_digitalocean_droplet.go#L138

Which was added for the 0.6.5 release. You can see at the top of the file that originally the ssh_keys field was intended to be treated as a string, but with the changes in 0.6.5 there's an effort to cast the strings to integers. Care to open up an issue for Terraform @leshik?

@sgoings
Copy link
Member

sgoings commented Oct 28, 2015

Ah. Found an issue hashicorp/terraform#3628 which refers to a PR for a fix hashicorp/terraform#3633

@sgoings sgoings closed this as completed Oct 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants