Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
layout page_title sidebar_current description
This is an introduction to JDCloud plugin and help users setting up their credentials.


JDCloud provider helps managing resources on JDCloud. Before you start with this plugin, you have to provide a pair of access key and secret to identify yourself.

-> Navigation bar on the left gives you a brief mind on how to manage resources on JDCloud that is currently available.


Credential consists of your key pairs and the region id, which is used for authentication. Currently you can set up your credential in two ways:

  • Simply write them in your configuration file
  • Set them as environment variables

Write them in your configuration file

For example, a credential can look like this. Place this at the beginning of

provider "jdcloud" {
  access_key = "your_access_key"
  secret_key = "your_secret_key"
  region     = "cn-north-1"

Set as environment variable

Or you can set them as environment variable via command line

$ export access_key="your_access_key"
$ export secret_key="your_secret_key"
$ export region="cn-north-1"

And leave the provider field blank in configuration file. Terraform will load them automatically.

provider "jdcloud" {