No description
  • Go 98.1%
  • HTML 1.7%
Find a file
2020-08-04 08:25:30 +08:00
.github Make CoC and support channels more visible 2017-11-01 23:05:49 +01:00
examples Add CSBS Backup and Policy service (#42) 2018-12-03 14:49:19 +08:00
huaweicloud improve compute instance networks (#427) 2020-08-04 08:25:30 +08:00
scripts Fix ChangeLog Links Script 2018-02-07 16:56:52 +08:00
vendor Add read_replicas update for gaussdb_mysql (#421) 2020-07-28 11:30:15 +08:00
website Add kubeProxyMode and taints params (#424) 2020-07-31 18:41:16 +08:00
.gitignore
.go-version provider: Ensured Go 1.11 in TravisCI and README 2019-03-01 16:05:32 -05:00
.travis.yml updage ubuntu dist and go version in travis ci (#257) 2019-12-31 10:00:40 +08:00
CHANGELOG.md Cleanup after v1.17.0 release 2020-07-31 16:09:18 +00:00
GNUmakefile deps: use go modules for dep mgmt 2019-03-01 16:05:52 -05:00
go.mod Add read_replicas update for gaussdb_mysql (#421) 2020-07-28 11:30:15 +08:00
go.sum Add read_replicas update for gaussdb_mysql (#421) 2020-07-28 11:30:15 +08:00
LICENSE
main.go Migrate to terraform-plugin-sdk 2019-10-18 07:43:11 +00:00
README.md Update README (#372) 2020-07-09 09:40:35 +08:00

Terraform HuaweiCloud Provider

Requirements

  • Terraform 0.12.x
  • Go 1.11 (to build the provider plugin)

Building The Provider

Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-huaweicloud

$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone https://github.com/terraform-providers/terraform-provider-huaweicloud

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-huaweicloud
$ make build

Using the provider

Please see the documentation at provider usage.

Or you can browse the documentation within this repo here.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make build
...
$ $GOPATH/bin/terraform-provider-huaweicloud
...

In order to test the provider, you can simply run make test.

$ make test

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc

License

Terraform-Provider-Huaweicloud is under the Mozilla Public License 2.0. See the LICENSE file for details.