Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make this provider Terraform 0.12 ready #6

Closed
antonbabenko opened this issue Feb 22, 2019 · 5 comments
Closed

Make this provider Terraform 0.12 ready #6

antonbabenko opened this issue Feb 22, 2019 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@antonbabenko
Copy link

antonbabenko commented Feb 22, 2019

Thank you for this provider!

Is your feature request related to a problem? Please describe.
I'd like to use this provider to manage files (antonbabenko/terraform-docs-as-pdf#2) on Dropbox using Terraform 0.12, but it is not compatible with available 0.12 beta or alpha.

Describe the solution you'd like
Recompile it with Terraform 0.12 source code

Describe alternatives you've considered
Terraform 0.11 potentially will work fine with this provider (see #7), but I would like to use Terraform 0.12 there

Additional context

provider "dropbox" {
  access_token = "${var.token}"
}

data "dropbox_user_current" "curr" {}

output "user_id" {
  value = "${data.dropbox_user_current.curr.account_id}"
}

Gives this error:

Error: Failed to retrieve schema from provider "dropbox": rpc error: code = Unavailable desc = all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: authentication handshake failed: tls: first record does not look like a TLS handshake"
@callensm callensm self-assigned this Feb 24, 2019
@callensm callensm added the enhancement New feature or request label Feb 24, 2019
@callensm
Copy link
Owner

The TLS error could be something on your end. Are you working behind a proxy or something that would cause handshake failure if not done properly?

@antonbabenko
Copy link
Author

antonbabenko commented Feb 24, 2019 via email

@callensm
Copy link
Owner

According to this document Terraform's 0.12 has a redesigned RPC system that seems to not be cross-compatible with previous version of Terraform.

I'm going to wait until it is actually released before I update the provider to use 0.12.

@callensm
Copy link
Owner

Supports terraform 0.12 as of v3 release

@antonbabenko
Copy link
Author

Great! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants