ibm-cloud-docs / ibm-cloud-provider-for-terraform

Documentation repository for ibm-cloud-provider-for-terraform
3 stars 17 forks source link

Instructions are not correct for Terraform 0.13 #3

Open tcrowleyold opened 4 years ago

tcrowleyold commented 4 years ago

Hello, the instructions on this page (https://cloud.ibm.com/docs/terraform?topic=terraform-getting-started) will not work for the latest version of terraform. Instead, the entire zip file must be placed in a specific directory - not the unzipped version.

My personal installation is working, but I would suggest you revise the document to reflect the new process. Alternatively, it would be far simpler for users if you simply published the provider to the Terraform registry. Just a thought.

tcrowleyold commented 4 years ago

This is probably a dupe of ibm-cloud-docs/terraform#66 but I would still suggest the engineering team consider publishing the plugin to the Terraform registry.

greyhoundforty commented 4 years ago

The providers.tf file for Terraform 0.13 should look like this:

terraform {
  required_version = ">= 0.13"
  required_providers {
    ibm = {
      source  = "ibm-cloud/ibm"
      version = "1.12.0"
    }
  }
}

Additionally the docs should instruct the customer to move the current IBM Provider binary out of ~/.terraform.d/plugins/ so that when they run terraform init the latest version is downloaded directly from the Terraform registry within the working directory.

geemurth commented 4 years ago

Hi,

Yes, this ticket is the duplicate of ibm-cloud-docs/terraform#66, The dev/solutioning team are working on this. However, in the document, we have added as a FAQ .

Regards, Geetha

geemurth commented 3 years ago

Hi tcrowleyibm,

This issue is reopen to share the Terraform documentation update related to the installation and configuration of Terraform v0.13. Please do share your feedback about the updated documentation links:

  1. Getting started
  2. Setting up the environment
  3. Migration

Regards, Geetha

geethasathyamurthy commented 3 years ago

@tcrowleyibm,

Request to know your comment to close this issue.

Thanks, Geetha