Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.15 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.15 KB

Terraform HCP Provider

Provider for the Hitachi Content Platform.

Uses the HCP Management API to create users and namespaces.

Using the provider

Provider configuration

provider hcp {
  mapi_url = "https://finance.hcp.example.com:9090/mapi/tenants/finance"
  username = "admin"
  password = "password"
}

You can also configure the provider using the following environment variables instead:

  • HCP_MAPI_URL
  • HCP_USERNAME
  • HCP_PASSWORD

hcp_user_account resource

resource "hcp_user_account" "sftp" {
  username = "username" 
  full_name = "full username"
  password = "password" // sha512 of this will be stored in state file
}

Requirements

  • Terraform 0.10.2
  • Go 1.8 (to build the provider plugin)

Building The Provider

$ make build

Developing the Provider

See GNUmakefile