Hugo Future Imperfect Slim

Tech Notes

Linux,MAC,Docker,Kubernetes,
CloudStack,AWS,GCP,AZURE,
Raspberrypi,VMWARE,GO,BOOKS,
NETFLIX,Movies,Seasons

1-Minute Read

Terraform is a tool to deploy resources on cloud

It is an infrastructure as code tool

Generally the plugins are available at

https://registry.terraform.io/

To use the plugins which are archived and not available in the terraform registry

Follow the steps a small tweak is necessary

  1. Currently the cloudstack plugin is archived

https://github.com/hashicorp/terraform-provider-cloudstack

https://github.com/hashicorp/terraform-provider-cloudstack/blob/stable-website/website/docs/index.html.markdown

  1. Download the terrform provider for cloudstack based on the os you are running

https://releases.hashicorp.com/terraform-provider-cloudstack/0.3.0/

  1. On linux and mac

Move it

.terraform.d/plugins/localdomain/provider/cloudstack/0.3.0/linux_amd64

or

.terraform.d/plugins/localdomain/provider/cloudstack/0.3.0/darwin_amd64

  1. sample gist

https://gist.github.com/kiranchavala/ce250d57b49ab1e8112ee0abdc64ff1c

  1. terraform init

  2. terraform apply

useful links

https://www.youtube.com/watch?v=0O5yqQqiQRQ&t=746s

https://www.terraform.io/docs/cli/config/config-file.html

https://stackoverflow.com/questions/63365156/how-to-use-the-ibm-cloud-provider-plug-in-for-terraform-with-terraform-0-13

https://www.ibm.com/cloud/blog/setting-terraform-ibm-cloud-provider-windows

https://stackoverflow.com/questions/63531360/terraform-manually-installed-plugin-fails

comments powered by Disqus

Recent Posts

Categories

About

I am a Software Engineer at Persistent Systems, working on Cloud Stack Orchestration and various tech related to Cloud Infra, container technology like Docker, Kubernetes