Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hashicorp/terraform-provider-jdcloud
Terraform JDcloud provider. Please note: This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
https://github.com/hashicorp/terraform-provider-jdcloud
jdcloud terraform terraform-provider
Last synced: about 1 month ago
JSON representation
Terraform JDcloud provider. Please note: This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
- Host: GitHub
- URL: https://github.com/hashicorp/terraform-provider-jdcloud
- Owner: hashicorp
- License: mpl-2.0
- Archived: true
- Created: 2019-03-27T18:03:51.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-08T17:08:39.000Z (almost 4 years ago)
- Last Synced: 2024-09-19T06:14:09.972Z (about 2 months ago)
- Topics: jdcloud, terraform, terraform-provider
- Language: Go
- Homepage: https://registry.terraform.io
- Size: 42 MB
- Stars: 9
- Watchers: 15
- Forks: 14
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
Please note: This Terraform provider is archived, per our [provider archiving process](https://terraform.io/docs/internals/archiving.html). What does this mean?
1. The code repository and all commit history will still be available.
1. Existing released binaries will remain available on the releases site.
1. Issues and pull requests are not being monitored.
1. New releases will not be published.If anyone from the community or an interested third party is willing to maintain it, they can fork the repository and [publish it](https://www.terraform.io/docs/registry/providers/publishing.html) to the Terraform Registry. If you are interested in maintaining this provider, please reach out to the [Terraform Provider Development Program](https://www.terraform.io/guides/terraform-provider-development-program.html) at *[email protected]*.
Terraform Provider for JDCloud
==================[![Build Status](https://travis-ci.com/jdclouddevelopers/terraform-provider-jdcloud.svg?branch=master)](https://travis-ci.com/jdclouddevelopers/terraform-provider-jdcloud)
# Requirements
* Terraform 0.10+
* Go 1.12(to build the provider plugin)# Using the provider
* Prepare a folder for Terraform
```bash
mkdir terraform && cd terraform
```
* Prepare your `jdcloud.tf`. This is where Terraform begins
```bash
touch jdcloud.tf
```
* Download [Terraform](https://www.terraform.io/downloads.html)
* Download [Terraform-Jdcloud-Plugin](https://github.com/jdclouddevelopers/terraform-provider-jdcloud)
* Launch!
```bash
terraform init
```
Terraform is now start working, it will manage your resources according to your `jdcloud.tf`
We would recommend our users begin with some simple resource, say `VPC` and `ElasticIP`How to write `jdcloud.tf` ? [Check Here](https://github.com/XiaohanLiang/terraform-provider-jdcloud/blob/master/example/main.tf)
# Developing the Provider
Contributions and advices to this plugin is very welcomed. In order to get start with, you
need to do the following steps.### 1.Prepare Golang Environment
First you will need to have [Golang1.12](https://golang.org/dl/) installed on your machine. Besides,
You will need to correctly set up $GOPATH, as well as adding `$GOPATH/bin` to your `$PATH`### 2.Compile project
After you have modified the code you can compile this plugin by `make build`.
Remember to format your code by using `go fmt`. If it works fine. Plugin will be in your $GOPATH/bin
``` go
$ make build
==> Checking that code complies with gofmt requirements...
go install$ ls $GOPATH/bin | grep jdcloud
terraform-provider-jdcloud
```### 3.Running Acceptance Test
Acceptance test can be an important part of developing process. Basically, it will first create a resource,
validate its attributes and see if it works as expected. Update this resource if applied and eventually delete this resource.
Acceptance tests are files in `jdcloud` with suffix `_test.go`. You can invoke an acceptance test by
```bash
make testacc
```_Note_
* Acceptance creates real resources, it will probably cost some money.
* Process usually takes 20~30 minutes depends on your network condition.## Contact Us
Contact us JDCloud-Team
## License
Mozilla Public License 2.0