geekmuse / terraform-provider-jumpcloud

A Terraform provider for JumpCloud
MIT License
17 stars 1 forks source link
jumpcloud terraform terraform-provider

jumpcloud-terraform-provider

A Terraform provider for JumpCloud.

As time goes on, this will implement JumpCloud's API as exposed through their Go SDK.

Where It Stands

Currently implemented is the creation, update, read, deletion, and import of users using the SystemUsers interface.

The following properties are currently implemented on a SystemUser:

Importing users requires the manual addition of the allow_public_key and password fields to the state file, since they are not currently supported by the API. An alternative to editing the state file is simply adding the parameters to the resource and running a plan/apply. This will update those values with the service (and will also add them to the state file).

Usage

There is a demonstration Terraform implementation in main.tf.

Roadmap

I'd like to dig into the ExternallyManaged feature of SystemUsers next, though I will probably resort to tests first, now that public keys are implemented; then onto systems (which it appears will leverage Terraform's Import functionality as a means of creation, then Update/Delete), and SystemUser/System associations.