To install Terraform, find the appropriate package for your system and download it. Terraform is packaged as a tgz archive.
After downloading Terraform, unzip the package.
On Linux or Mac , put the binary file to in the sub-path .terraform.d/plugins in your user's home directory.
On Windows , put the binary file to in the sub-path terraform.d/plugins beneath your user's "Application Data" directory.
Then put the binary file into terraform 's PATH.
git clone https://github.com/yunify/terraform-provider-qingcloud.git
cd ./terraform-provider-qingcloud/terraform/example/init
terraform init
terraform -v
You can execute the above script . If you installed the provider correctly, you should see output similar to the one below .
Terraform v0.13.0
+ provider registry.terraform.io/yunify/qingcloud v1.2.6
- Instance
- Volume
- Vxnet
- Router(Deprecated,Use Vpc in SDN2.0)
- Eip
- SecurityGroups
- SecurityGroupRules
- Keypairs
- Vpc
- Tag
- VpcStatic
- LoadBalancer
- LoadBalancerListener
- LoadBalancerBackend
- Server Certificate
- VPN Cert
- Fork it ( https://github.com/yunify/terraform-provider-qingcloud/fork )
- Create your feature branch (
git checkout -b new-feature
) - Commit your changes (
git commit -asm 'Add some feature'
) - Push to the branch (
git push origin new-feature
) - Create a new Pull Request