Name: terraform-provider
Owner: Alibaba
Description: Terraform for Alibaba Cloud, Support ECS, Block Storage, SLB, VPC, Nat Gateway, RDS, ESS, OSS etc.
Created: 2016-12-01 07:21:01.0
Updated: 2018-05-22 07:02:05.0
Pushed: 2018-05-22 07:02:04.0
Size: 13662
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is the official repository for the Alicloud terraform provider. Currently it supports terraform version ? v0.8.2.
If you are not planning to contribute to this repo, you can download the compiled binaries from https://github.com/alibaba/terraform-provider/releases and move the banaries (bin/terraform-provider-alicloud) into the folder under the Terraform PATH such as /usr/local/terraform.
Alternatively, the provider can be installed as described in the developer notes.
This way you will be able to sync the repo as active development is going on.
-> Note: When you use terraform on the Windowns
computer, please install golang in your computer,
otherwise, you will happened the issue from version 1.8.1 and the issue details can refer to Crash Error.
Example modules can be found in the terraform/examples directory.
GOPATH
r -p src/github.com/alibaba
GOPATH/src/github.com/alibaba
clone https://github.com/alibaba/terraform-provider.git
itch to project
GOPATH/src/github.com/alibaba/terraform-provider
t all dependencies and install modules
et ./...
e up
-E "PATH=$PATH" make all
aform get
t the creds
rt ALICLOUD_ACCESS_KEY="***"
rt ALICLOUD_SECRET_KEY="***"
rt ALICLOUD_REGION="***"
u're good to start rocking
icloud.tf contains the default example
aform plan
rraform apply
rraform destroy
ingdao
eijing
hangjiakou
uhehaote
angzhou
hanghai
henzhen
ongkong
ortheast-1
outheast-1
outheast-2
outheast-3
outheast-5
outh-1
ast-1
est-1
ast-1
entral-1
For more about the regions and availability zones, use data source alicloud_regions
and alicloud_zones
.
The latest supported product document as follows:
1.
r configuring: 1 error(s) occurred:
compatible API version with plugin. Plugin version: 2, Ours: 1
x by manually setting the branch in the sources
rc/github.com/hashicorp/terraform/
checkout v<YOUR_TF_VERSION_HERE>
build
-E "PATH=$PATH" make all