There is no official IBM provider plugin available for terraform for now. We can easily configure this by
- Download the windows 64 version of the IBM providre plugin from https://github.com/IBM-Cloud/terraform-provider-ibm/releases
- Extract the exe from that archive
- Create a terraform.d at any place of your choosing
- Create a plugins directory inside the above directory
- create a windows_amd64 directory inside the above directory
- copy the downloaded exe file into the windows_amd64 and plugins directory
- Now copy the terraform.d file to all the available directories below
- C:\Users\<username>\AppData
- C:\Users\<username>\AppData\Local
- C:\Users\<username>\AppData\Local<whatever>
- C:\Users\<username>\AppData\Roaming
Now create a main.tf file just with the following lines
provider ibm {}
and do a terraform init and it will work.
No comments:
Post a Comment