sapcc / terraform-provider-ccloud

Terraform provider for Converged Cloud extended OpenStack Services
Mozilla Public License 2.0
11 stars 5 forks source link

Compatibility with TF 0.13 #46

Closed UncleIS closed 4 years ago

UncleIS commented 4 years ago

Hello, colleagues.

I'd like to ask if the current implementation of the provider is compatible with TF 0.13?

As far as I understand, the new version of Terraform is able to download and install providers directly from GitHub, and it would be great if that feature would be supported by ccloud provider as well.

Thanks!

kayrus commented 4 years ago

@UncleIS ccloud provider is compatible with terraform 0.13. The only thing you need to know that a new path for provider binaries has been changed. We tested that the following paths to the binary should work fine with terraform 0.13:

The following definition must exist in the terraform script:

terraform {
  required_providers {
    openstack = {
      source = "terraform-providers/openstack"
    }
    ccloud = {
      source = "terraform-providers/ccloud"
    }
  }
}

See https://www.terraform.io/upgrade-guides/0-13.html#new-filesystem-layout-for-local-copies-of-providers for more details

kayrus commented 4 years ago

CCloud EE provider is now accessible via Terraform Registry. You can refer to it using the code below:

terraform {
  required_providers {
    ccloud = {
      source = "sapcc/ccloud"
    }
  }
}